Ensure that the sync state of the pagewriter remains unchanged during thread recovery
Offering: openGaussDev More detail: Match-id-b22f78c1caadc9390b82ac62f29658f024a79e9e
This commit is contained in:
parent
621bd93e25
commit
651da5cbe4
|
@ -1217,8 +1217,8 @@ static void HandlePageWriterMainInterrupts()
|
|||
}
|
||||
|
||||
if (t_thrd.pagewriter_cxt.sync_requested) {
|
||||
t_thrd.pagewriter_cxt.sync_requested = false;
|
||||
PageWriterSyncWithAbsorption();
|
||||
t_thrd.pagewriter_cxt.sync_requested = false;
|
||||
}
|
||||
|
||||
/* main thread should finally exit. */
|
||||
|
|
Loading…
Reference in New Issue