forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Safe use of collectd during shutdown
During shutdown some of the metrics are no longer registered. When calling from the collectd, the situation is even more complicated because between calls to the sender loop the map itself can get deleted. This patch moves the collectd to use the values copy (like prometheus does). It also make sure the value were not removed from the map before using them. See scylladb/scylladb#1851 Signed-off-by: Amnon Heiman <[email protected]> Message-Id: <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
18 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