-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cluster_id is vulnerable to race condition when called concurrently (#94
) * fix(cluster_id): Get() is "insert if not exist", needs read-write lock protection * fix(jobs): remove static clusterID getter in sendVersionsImpl 1) add generic data.ClusterID type in sendVersions type struct 2) enable common clusterID reference to be included in multiple, concurrent jobs, so that appropriate locking can be enforced
- Loading branch information
1 parent
2582640
commit 31fe3bc
Showing
3 changed files
with
9 additions
and
2 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