-
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.
40645: storage: don't panic on absent store in StorePool.getStoreListFromIDs r=nvanbenschoten a=nvanbenschoten Fixes #40598. The store ID filter is passed to the StorePool from outside of the lock, so it's possible that the removal of the store from the StorePool raced with the goroutine calling getStoreListFromIDs. This should be handled by ignoring the StoreID, which is already the case if a store is found with the status `storeStatusDead`, `storeStatusUnknown`, or `storeStatusDecommissioning`. Will need to be backported to 19.1 and 2.1. Release note: None Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
- Loading branch information
Showing
2 changed files
with
70 additions
and
7 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