Tags: happyfella1/solana
Tags
Add logging when RpcHealthStatus::Unknown (solana-labs#18099)
Make account shrink configurable solana-labs#17544 (backport solana-l… …abs#17778) (solana-labs#18013) * Make account shrink configurable solana-labs#17544 (solana-labs#17778) 1. Added both options for measuring space usage using total accounts usage and for individual store shrink ratio using an enum. Validator CLI options: --accounts-shrink-optimize-total-space and --accounts-shrink-ratio 2. Added code for selecting candidates based on total usage in a separate function select_candidates_by_total_usage 3. Added unit tests for the new functions added 4. The default implementations is kept at 0.8 shrink ratio with --accounts-shrink-optimize-total-space set to true Fixes solana-labs#17544 (cherry picked from commit 269d995) # Conflicts: # core/tests/snapshots.rs # ledger/src/bank_forks_utils.rs # runtime/src/accounts_db.rs # runtime/src/snapshot_utils.rs * fix some merge errors Co-authored-by: Lijun Wang <[email protected]> Co-authored-by: Jeff Washington (jwash) <[email protected]>
validator: run poh speed test earlier in start up (solana-labs#18023) (cherry picked from commit 5bc6c89) Co-authored-by: Trent Nelson <[email protected]>
Avoid full-range compactions with periodic filtered b.g. ones (backport solana-labs#16697) (solana-labs#17956) * Avoid full-range compactions with periodic filtered b.g. ones (solana-labs#16697) * Update rocksdb to v0.16.0 * Promote the infrequent and important log to info! * Force background compaction by ttl without manual compaction * Fix test * Support no compaction mode in test_ledger_cleanup_compaction * Fix comment * Make compaction_interval customizable * Avoid major compaction with periodic filtering... * Adress lazy_static, special cfs and range check * Clean up a bit and add comment * Add comment * More comments... * Config code cleanup * Add comment * Use .conflicts_with() * Nullify unneeded delete_range ops for special CFs * Some clean ups * Clarify the locking intention * Ensure special CFs' consistency with PurgeType::CompactionFilter * Fix comment * Fix bad copy paste * Fix various types... * Don't use tuples * Add a unit test for compaction_filter * Fix typo... * Remove flag and just use new behavior always * Fix wrong condition negation... * Doc. about no set_last_purged_slot in purge_slots * Write a test and fix off-by-one bug.... * Apply suggestions from code review Co-authored-by: Tyera Eulberg <[email protected]> * Follow up to github review suggestions * Fix line-wrapping * Fix conflict Co-authored-by: Tyera Eulberg <[email protected]> (cherry picked from commit 1f97b23) # Conflicts: # Cargo.lock # ledger/src/blockstore_db.rs * Fix conflicts Co-authored-by: Ryo Onodera <[email protected]>
update dependence version for gag to latest support windows (solana-l… …abs#17801) (solana-labs#17825) * update dependence version for gag to leatest support windows * fix compile on windows * add Cargo.lock (cherry picked from commit e0ab5ee) Co-authored-by: Govlzkoy <[email protected]>
Add memory operation syscalls (backport solana-labs#16447) (solana-la… …bs#17648) * Add memory operation syscalls (solana-labs#16447) (cherry picked from commit 2b50529) # Conflicts: # programs/bpf/Cargo.lock * Resolve conflicts Co-authored-by: Jack May <[email protected]>
PreviousNext