Durango.4 - Interval Tree Bootstrapping
StephenButtolph
released this
09 Apr 20:51
·
428 commits
to master
since this release
This version is backwards compatible to v1.11.0. It is optional, but encouraged.
The plugin version is unchanged at 35
and is compatible with version v1.11.3
.
APIs
- Removed metrics for each chainID:
avalanche_{chainID}_bs_eta_fetching_complete
avalanche_{chainID}_block_eta_execution_complete
avalanche_{chainID}_block_jobs_cache_get_count
avalanche_{chainID}_block_jobs_cache_get_sum
avalanche_{chainID}_block_jobs_cache_hit
avalanche_{chainID}_block_jobs_cache_len
avalanche_{chainID}_block_jobs_cache_miss
avalanche_{chainID}_block_jobs_cache_portion_filled
avalanche_{chainID}_block_jobs_cache_put_count
avalanche_{chainID}_block_jobs_cache_put_sum
- Added finer grained tracing of merkledb trie construction and hashing
- renamed
MerkleDB.view.calculateNodeIDs
toMerkleDB.view.applyValueChanges
- Added
MerkleDB.view.calculateNodeChanges
- Added
MerkleDB.view.hashChangedNodes
- renamed
Fixes
- Fixed p2p SDK handling of cancelled
AppRequest
messages - Fixed merkledb crash recovery
What's Changed
- Bump github.com/consensys/gnark-crypto from 0.10.0 to 0.12.1 by @dependabot in #2862
- Push antithesis images by @StephenButtolph in #2864
- Revert removal of legacy P-chain block parsing by @StephenButtolph in #2866
tmpnet
: Ensure nodes are properly detached from the parent process by @marun in #2859- indicies -> indices by @StephenButtolph in #2873
- Reindex P-chain blocks by @StephenButtolph in #2869
- Add detail to tmpnet metrics documentation by @marun in #2854
- docs migration by @meaghanfitzgerald in #2845
- Implement interval tree to replace bootstrapping jobs queue by @StephenButtolph in #2756
- Cleanup codec constants by @abi87 in #2699
- Update health API readme by @StephenButtolph in #2875
tmpnet
: Improve subnet configuration by @marun in #2871- Add tests for inefficient string formatting by @StephenButtolph in #2878
- [vms/platformvm] Declare
maxPageSize
inservice.go
by @dhrubabasu in #2881 - [vms/platformvm] Use
wallet
sdk intxstest.Builder
by @abi87 in #2751 - Optimize encodeUint by @StephenButtolph in #2882
- [components/avax] Remove
AtomicUTXOManager
interface by @dhrubabasu in #2884 - Remove merkledb codec struct by @StephenButtolph in #2883
- [vms/platformvm] Minimize exported functions in
txstest
by @dhrubabasu in #2888 ci
: Skip monitoring if secrets are not present by @marun in #2880- Optimize merkledb hashing by @StephenButtolph in #2886
- [vms/platformvm] Miscellaneous testing cleanups by @dhrubabasu in #2891
- Move functions around so that encode and decode are next to each other by @StephenButtolph in #2892
- Remove memory alloc from encodeDBNode by @StephenButtolph in #2893
- Interval tree syncing integration by @StephenButtolph in #2855
- Optimize hashing of leaf nodes by @StephenButtolph in #2894
- Improve performance of marshalling small keys by @StephenButtolph in #2895
- Improve tracing of merkledb trie updates by @StephenButtolph in #2897
- Remove usage of bytes.Buffer and bytes.Reader by @StephenButtolph in #2896
- Optimize key creation in hashing by @StephenButtolph in #2899
- Move bootstrapping queue out of common by @StephenButtolph in #2856
- Conditionally allocate WaitGroup memory by @StephenButtolph in #2901
- Reuse key buffers during hashing by @StephenButtolph in #2902
- Remove AddEphemeralNode by @joshua-kim in #2887
- Rename linkedhashmap package to
linked
by @StephenButtolph in #2907 - [tmpnet] Misc cleanup to support xsvm warp test PR by @marun in #2903
- Implement generic
linked.List
by @StephenButtolph in #2908 - Remove full message from error logs by @StephenButtolph in #2912
- Use generic linked list by @StephenButtolph in #2909
- Avoid allocating new list entries by @StephenButtolph in #2910
- Remove
linked.Hashmap
locking by @StephenButtolph in #2911 - Fix MerkleDB crash recovery by @StephenButtolph in #2913
- Remove cancellation for Send*AppRequest messages by @StephenButtolph in #2915
- Add
.Clear()
tolinked.Hashmap
by @StephenButtolph in #2917 - Allow pre-allocating
linked.Hashmap
by @StephenButtolph in #2918 - Fix comment and remove unneeded allocation by @StephenButtolph in #2919
- Implement
utils.BytesPool
to replacesync.Pool
for byte slices by @StephenButtolph in #2920 - Refactor
MerkleDB.commitChanges
by @StephenButtolph in #2921 - Remove value_node_db batch by @StephenButtolph in #2922
- Remove memory allocations from merkledb iteration by @StephenButtolph in #2925
Full Changelog: v1.11.3...v1.11.4