This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
Tags: solana-labs/solana
Tags
refreshes ContactInfo.outset before initializing validator (#3135) Nodes join gossip during bootstrap process with a stub contact-info which in particular has invalid TVU socket address. Once the bootstrap is done they re-join gossip a 2nd time with a fully populated contact-info, but this contact-info has an outset timestamp older than the 1st one because it was initiated earlier. In v2.0 the outset timestamp determines which contact-info overrides the other, so the v2.0 nodes refrain from updating their CRDS table with the fully initialized contact-info. The commit refreshes ContactInfo.outset before initializing the validator so that it overrides the one pushed to the gossip by the bootstrap stage.
v1.18: ci: ignore the tonic audit as a temporary stopgap (backport of #… …3052) (#3062) * ci: ignore the tonic audit as a temporary stopgap (#3052) (cherry picked from commit 9b5525d) # Conflicts: # ci/do-audit.sh * Fix conflicts * Update to mimic v2.0 change --------- Co-authored-by: Yihau Chen <yihau.chen@icloud.com> Co-authored-by: WillHickey <will.hickey@anza.xyz>
v1.18: blockstore: only consume duplicate proofs from root_slot + 1 o… …n startup (backport of #1971) (#2113) * blockstore: only consume duplicate proofs from root_slot + 1 on startup (#1971) * blockstore: only consume duplicate proofs from root_slot + 1 on startup * pr feedback: update test comments * pr feedback: add pub behind dcou for test fns (cherry picked from commit 2a48564) * fix conflicts --------- Co-authored-by: Ashwin Sekar <ashwin@anza.xyz> Co-authored-by: Ashwin Sekar <ashwin@solana.com>
v1.18: accounts-db: fix 8G+ memory spike during hash calculation (bac… …kport of #1308) (#1318) accounts-db: fix 8G+ memory spike during hash calculation (#1308) We were accidentally doing several thousands 4MB allocations - even during incremental hash - which added up to a 8G+ memory spikes over ~2s every ~30s. Fix by using Vec::new() in the identity function. Empirically 98%+ reduces join arrays with less than 128 elements, and only the last few reduces join large vecs. Because realloc does exponential growth we don't see pathological reallocation but reduces do at most one realloc (and often 0 because of exp growth). (cherry picked from commit 2c71685) Co-authored-by: Alessandro Decina <alessandro.d@gmail.com>
v1.18: pings received contact-infos on gossip socket address (backpor… …t of #1615) (#1635) * pings received contact-infos on gossip socket address (#1615) (cherry picked from commit 329a186) # Conflicts: # gossip/src/cluster_info.rs # gossip/src/legacy_contact_info.rs * resolves merge conflicts --------- Co-authored-by: behzad nouri <behzadnouri@gmail.com>
PreviousNext