!4831 修复按需回放与enable_cbm_tracking参数同时开启启动时core问题
Merge pull request !4831 from 刘展峰/cbm
This commit is contained in:
@ -9911,7 +9911,7 @@ void StartupXLOG(void)
|
||||
* At this moment, checkpoint would not happen so it is safe to do the desicion
|
||||
* without holding the control file lock.
|
||||
*/
|
||||
if (u_sess->attr.attr_storage.enable_cbm_tracking) {
|
||||
if (u_sess->attr.attr_storage.enable_cbm_tracking && g_instance.pid_cxt.CBMWriterPID == 0) {
|
||||
CBMTrackInit(true, checkPoint.redo);
|
||||
t_thrd.cbm_cxt.XlogCbmSys->needReset = false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user