88b315bb41
* Simplify accounts healing threshold management why: Was over-engineered. details: Previously, healing was based on recursive hexary trie perusal. Due to "cheap" envelope decomposition of a range complement for the hexary trie, the cost of running extra laps have become time-affordable again and a simple trigger mechanism for healing will do. * Control number of dangling result nodes in `hexaryInspectTrie()` also: + Returns number of visited nodes available for logging so the maximum number of nodes can be tuned accordingly. + Some code and docu update * Update names of constants why: Declutter, more systematic naming * Re-implemented `worker_desc.merge()` for storage slots why: Provided as proper queue management in `storage_queue_helper`. details: + Several append modes (replaces `merge()`) + Added third queue to record entries currently fetched by a worker. So another parallel running worker can safe the complete set of storage slots in as checkpoint. This was previously lost. * Refactor healing why: Simplify and remove deep hexary trie perusal for finding completeness. Due to "cheap" envelope decomposition of a range complement for the hexary trie, the cost of running extra laps have become time-affordable again and a simple trigger mechanism for healing will do. * Docu update * Run a storage job only once in download loop why: Download failure or rejection (i.e. missing data) lead to repeated fetch requests until peer disconnects, otherwise. |
||
---|---|---|
.. | ||
hexary_desc.nim | ||
hexary_envelope.nim | ||
hexary_error.nim | ||
hexary_import.nim | ||
hexary_inspect.nim | ||
hexary_interpolate.nim | ||
hexary_nearby.nim | ||
hexary_paths.nim | ||
rocky_bulk_load.nim | ||
snapdb_accounts.nim | ||
snapdb_desc.nim | ||
snapdb_persistent.nim | ||
snapdb_pivot.nim | ||
snapdb_storage_slots.nim |