You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
move forceWriteMarkerSent out of loop of ForceWriteThread to avoid frequently forceWrite (#3454)
Fix group ForceWrite not take effect with forceWriteMarkerSent in while loop of ForceWriteThread
### Motivation
Bookkeeper 4.15 has performance issue. There are too many journal sync.
Then I found in ForceWriteThread, forceWriteMarkerSent is reset to false for every loop, and this can cause shouldForceWrite=true and trigger journal sync. This new logic is bringed by #2962
### Changes
move forceWriteMarkerSent=false out of while loop.
(cherry picked from commit dcc9a41)
0 commit comments