forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: Remove intentResolver optimization for local Replica
This optimization uses direct access to the Replica object, which is unusual and complicates the Store/Replica concurrency model. It's cleaner to use the DistSender for both local and remote intents, although it means we can no longer detect when a command has been proposed, and must instead wait for it to be completed. Fixes cockroachdb#7933
- Loading branch information
Showing
1 changed file
with
20 additions
and
68 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