-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wait for blob cache fills to complete before stopping the service (#7…
…0220) Today nothing prevents to use the BlobStoreCacheService after the component is stopped. It sometimes happens because the shards are one of the very last resources to be closed when a node stops, after components are stopped, and the closing of shards also releases more resources that are likely to trigger more blobs to be cached by the BlobStoreCacheService. On CI we can notice this behavior by seeing the blob cache index re-created while the after-test clean up logic is running (see #69735). This committ changes integration tests so that at stop time they now waits for in-flight index operations to be completed. It also prevents any new blob to be cached after the service has been stopped. Closes #69735
- Loading branch information
Showing
5 changed files
with
281 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
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.