-
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.
30058: storage: Fix AmbientCtx handling during Store construction/startup r=a-robinson a=a-robinson The AmbientCtx present in NewStore() does not yet include the store ID, but was getting passed to the Scanner and StoreRebalancer, leaving their log tags without the store ID (or in practice for the store rebalancer's case, with the store ID out of order). This fixes that (albeit very awkwardly for the Scanner), and removes a passing of the AmbientCtx to a constructor that didn't actually use it. Release note: None The improperly ordered store rebalancer log tags (`s1,n1,store-rebalancer`) were annoying me while looking at #29969, and the lack of a store tag could conceivably get confusing for the scanner on a node with multiple stores. Co-authored-by: Alex Robinson <alexdwanerobinson@gmail.com>
- Loading branch information
Showing
4 changed files
with
17 additions
and
12 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
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