-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track whether an AndFuture has begun (#8937)
* Track whether an AndFuture has begun Previously, for deciding whether or not it was legal to set READ_YOUR_WRITES_DISABLE, it was allowed as long as no reads were in-flight. It's possible that a read can have been initiated, but the RYW caches are empty and no reads are in-flight. See #8925 for an example. Closes #8925 * Change began to futureCount * Remove unused and incorrect assignment operators * Remove bogus test expectation It shouldn't be legal to set READ_YOUR_WRITES_DISABLE after reading if there are currently no pending reads, but this test was expecting that to work.
- Loading branch information
1 parent
23deb5b
commit 97c3a20
Showing
3 changed files
with
19 additions
and
18 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
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