You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(hot-mdbx): pre-populate FSI cache at DB open (ENG-2136) (#51)
* refactor(hot-mdbx): replace FsiCache type alias with two-tier struct (ENG-2136)
Replaces Arc<RwLock<HashMap>> type alias with a two-tier FsiCache struct:
lock-free linear scan over 9 known tables, RwLock<HashMap> fallback for
dynamic tables. Updates callsites in tx.rs and lib.rs to use new API.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat(hot-mdbx): pre-populate FSI cache at DB open (ENG-2136)
Read FSI metadata for all 9 known tables at open time and store them in
the lock-free known array of FsiCache, eliminating the dynamic map
fallback for standard tables on every transaction.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* refactor(hot-mdbx): review fixes — NUM_TABLES constant, visibility, comments (ENG-2136)
- Add NUM_TABLES constant in signet-hot tables module, replace all
hardcoded 9s
- Make FsiCache pub(crate) — only used within the crate
- Update stale field doc on fsi_cache to reflect pre-population at open
- Clarify comment in create_tables_and_populate_cache about throwaway cache
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments