Add shred version filters to Crds Accessors (#8027)
* Add shred version filters to Crds Accessors
* Adopt entrypoint shred_version if one isn't provided
(cherry picked from commit 64c42e28dc
)
This commit is contained in:
committed by
Michael Vines
parent
43659d7deb
commit
6818e68542
@@ -522,6 +522,8 @@ impl Archiver {
|
||||
let mut contact_info = node_info.clone();
|
||||
contact_info.tvu = "0.0.0.0:0".parse().unwrap();
|
||||
contact_info.wallclock = timestamp();
|
||||
// copy over the adopted shred_version from the entrypoint
|
||||
contact_info.shred_version = cluster_info.read().unwrap().my_data().shred_version;
|
||||
{
|
||||
let mut cluster_info_w = cluster_info.write().unwrap();
|
||||
cluster_info_w.insert_self(contact_info);
|
||||
|
Reference in New Issue
Block a user