!4317 修复 “debug版本修改enable_incremental_checkpoint = on -> off 产生 coredump” 的问题
Merge pull request !4317 from cuikaifeng/ccheckpoint
This commit is contained in:
@ -797,7 +797,11 @@ static bool dw_batch_file_recycle(dw_batch_file_context *cxt, uint16 pages_to_wr
|
||||
wait_dw_page_finish_flush(cxt->id);
|
||||
}
|
||||
|
||||
PageWriterSync();
|
||||
if (USE_CKPT_THREAD_SYNC) {
|
||||
ProcessSyncRequests();
|
||||
} else {
|
||||
PageWriterSync();
|
||||
}
|
||||
|
||||
if (trunc_file) {
|
||||
if (!LWLockConditionalAcquire(cxt->flush_lock, LW_EXCLUSIVE)) {
|
||||
|
||||
Reference in New Issue
Block a user