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
{{ message }}
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
## Describe your changes and provide context
This PR will fix 3 issues:
1. Flaky unit test is caused by async writes not committing latest
version in time before db is closed, resulting in the recovery process
being skipped since latestVersion = 0
2. Async write is only enabled properly when useDedicatedChangelog=true,
however, we want all async writes are going through the extra WAL file
to avoid data loss so that we can recover during initilization.
3. Fix closing order, we should close the channel first, wait for all
pending changes to be flushed to WAL and then closing the WAL
## Testing performed to validate your change
0 commit comments