-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replica_rac2: inline Replica mutex assertions
These are now accomplished via the ReplicaMutexAsserter struct, instead of an interface. go build -gcflags "-m -m" produces output like: ./processor.go:1142:46: inlining call to ReplicaMutexAsserter.RaftMuAssertHeld ./processor.go:1143:49: inlining call to ReplicaMutexAsserter.ReplicaMuAssertHeld ./processor.go:1142:46: inlining call to syncutil.(*Mutex).AssertHeld ./processor.go:1143:49: inlining call to syncutil.(*RWMutex).AssertHeld Epic: CRDB-37515 Release note: None
- Loading branch information
1 parent
ee6710a
commit be0923c
Showing
6 changed files
with
105 additions
and
116 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
Oops, something went wrong.