-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7904 from arjunravinarayan/replica_desc_refactor
storage: prepend replica descriptors in panics all logs and errors with it. Prepend panics as well. storage: move rangeDesc out of replica.mu, use in Desc() readable copy of the RangeDescriptor. replica.Desc() could use this as well (so as to not lock replica.mu), but this change was conservatively deferred. However, with the issue of replica.Desc() acquiring locks being raised in #7888, and after discussion with @bdarnell, it should be safe to refactor replica.Desc() as well.
- Loading branch information
Showing
2 changed files
with
28 additions
and
20 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