Tags: solana-labs/solana
Tags
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>
v1.18: consensus: make shallow threshold checks log only (backport of #… …1506) (#1546) consensus: make shallow threshold checks log only (#1506) * consensus: make shallow threshold checks log only * pr feedback: comment, make check more readable (cherry picked from commit 6859d65) Co-authored-by: Ashwin Sekar <ashwin@anza.xyz>
PreviousNext