-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync_flush should wait is_completed not is_active.
Log entry added into StreamTracker in write_async , through m_records.create(). Once create the status is active. Later on in HomeLogStore::on_write_completion it update the tracker and in the `m_records.update`, is_completed set to true. We should wait for is_completed == true to indicate a log entry has been persisted. Signed-off-by: Xiaoxi Chen <[email protected]>
- Loading branch information
1 parent
1a0cef8
commit d84c2ad
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters