-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have a race in `vfsSync`: if two goroutines Sync at the same time, one might see the flag=false and return immediately, before the other goroutine actually runs/completes the Sync. The fix is to store a change counter and wait for any in-progress syncs as necessary. Informs cockroachdb/cockroach#124845
- Loading branch information
1 parent
17a2c98
commit cbd534e
Showing
2 changed files
with
20 additions
and
11 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
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