nimbus-eth1/nimbus/db/kvt
Jordan Hrycaj 3c6400673d
Coredb fix kvt save only fringe condition (#2592)
* Cosmetics, spelling, etc.

* Aristo: make sure that a save cycle always commits even when empty

why:
  If `Kvt` is tied to the `Aristo` DB save cycle, then this save cycle
  must also be committed if there is no data to save for `Aristo`.

  Otherwise this will lead to excessive core memory use with some fringe
  condition where Eth headers (or blocks) are downloaded while syncing
  and not really stored on disk.

* CoreDb: Correct persistent save mode

why:
  Saving `Kvt` first is seen as a harbinger (or canary) for `Aristo` as
  both run in sync. If `Kvt` succeeds saving first, so must be `Aristo`
  next. Other than this is a defect.
2024-09-04 13:48:38 +00:00
..
kvt_delta Aristo and kvt balancer management update (#2504) 2024-07-18 21:32:32 +00:00
kvt_desc small cleanups (#2526) 2024-07-26 12:32:01 +07:00
kvt_init Coredb fix kvt save only fringe condition (#2592) 2024-09-04 13:48:38 +00:00
kvt_tx Aristo and kvt balancer management update (#2504) 2024-07-18 21:32:32 +00:00
kvt_walk Aristo: Update unit test suite (#2002) 2024-02-01 21:27:48 +00:00
kvt_api.nim Coredb and sync maintenance update (#2583) 2024-08-30 11:18:36 +00:00
kvt_constants.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00
kvt_debug.nim Aristo and kvt balancer management update (#2504) 2024-07-18 21:32:32 +00:00
kvt_delta.nim small cleanups (#2526) 2024-07-26 12:32:01 +07:00
kvt_desc.nim Aristo and kvt balancer management update (#2504) 2024-07-18 21:32:32 +00:00
kvt_init.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00
kvt_layers.nim Aristo and kvt balancer management update (#2504) 2024-07-18 21:32:32 +00:00
kvt_persistent.nim Aristo update rocksdb backend drivers (#2135) 2024-04-16 20:39:11 +00:00
kvt_tx.nim Core db reorg (#2444) 2024-07-03 15:50:27 +00:00
kvt_utils.nim Coredb and sync maintenance update (#2583) 2024-08-30 11:18:36 +00:00
kvt_walk.nim Core db use differential tx layers for aristo and kvt (#1949) 2023-12-19 12:39:23 +00:00