Durango.6 - Bootstrapping Execution Improvements
StephenButtolph
released this
23 May 16:08
·
357 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 versions v1.11.3-v1.11.5
.
APIs
- Updated cache metrics:
*_cache_put_sum
was replaced with*_cache_put_time
*_cache_get_sum
was replaced with*_cache_get_time
*_cache_hit
and*_cache_miss
were removed and*_cache_get_count
added aresult
label
- Updated db metrics:
*_db_{method}_count
were replaced with*_db_calls
with amethod
label*_db_{method}_sum
were replaced with*_db_duration
with amethod
label*_db_{method}_size_count
were deleted*_db_{method}_size_sum
were replaced with*_db_size
with amethod
label
- Updated p2p message compression metrics:
avalanche_network_codec_{type}_{op}_{direction}_time_count
were replaced withavalanche_network_codec_compressed_count
withdirection
,op
, andtype
labels
- Updated p2p message metrics:
avalanche_network_{op}_{io}
were replaced withavalanche_network_msgs
withcompressed:"false"
,io
, andop
labelsavalanche_network_{op}_{io}_bytes
were replaced withavalanche_network_msgs_bytes
withio
andop
labelsavalanche_network_{op}_compression_saved_{io}_bytes_sum
were replaced withavalanche_network_msgs_bytes_saved
withio
andop
labelsavalanche_network_{op}_compression_saved_{io}_bytes_count
were replaced withavalanche_network_msgs
withcompressed:"true"
,io
, andop
labelsavalanche_network_{op}_failed
were replaced withavalanche_network_msgs_failed_to_send
with anop
label
- Updated p2p sdk message metrics:
*_p2p_{op}_count
were replaced with*_p2p_msg_count
with anop
label*_p2p_{op}_time
were replaced with*_p2p_msg_time
with anop
label
- Updated consensus message queue metrics:
avalanche_{chainID}_handler_unprocessed_msgs_{op}
were replaced withavalanche_{chainID}_handler_unprocessed_msgs_count
with anop
labelavalanche_{chainID}_handler_async_unprocessed_msgs_{op}
were replaced withavalanche_{chainID}_handler_unprocessed_msgs_count
with anop
label
- Updated consensus handler metrics:
avalanche_{chainID}_handler_{op}_count
were replaced withavalanche_{chainID}_handler_messages
with anop
labelavalanche_{chainID}_handler_{op}_msg_handling_count
was deletedavalanche_{chainID}_handler_{op}_msg_handling_sum
were replaced withavalanche_{chainID}_handler_message_handling_time
with anop
labelavalanche_{chainID}_handler_{op}_sum
were replaced withavalanche_{chainID}_handler_locking_time
- Updated consensus sender metrics:
avalanche_{chainID}_{op}_failed_benched
were replaced withavalanche_{chainID}_failed_benched
with anop
label
- Updated consensus latency metrics:
avalanche_{chainID}_lat_{op}_count
were replaced withavalanche_{chainID}_response_messages
with anop
labelavalanche_{chainID}_lat_{op}_sum
were replaced withavalanche_{chainID}_response_message_latencies
with anop
label
- Updated X-chain metrics:
avalanche_X_vm_avalanche_{tx}_txs_accepted
were replaced withavalanche_X_vm_avalanche_txs_accepted
with atx
label
- Updated P-chain metrics:
avalanche_P_vm_{tx}_txs_accepted
were replaced withavalanche_P_vm_txs_accepted
with atx
labelavalanche_P_vm_{blk}_blks_accepted
were replaced withavalanche_P_vm_blks_accepted
with ablk
label
Fixes
- Fixed performance regression while executing blocks in bootstrapping
- Fixed peer connection tracking in the P-chain and C-chain to re-enable tx pull gossip
- Fixed C-chain deadlock while executing blocks in bootstrapping after aborting state sync
- Fixed negative ETA while fetching blocks after aborting state sync
- Fixed C-chain snapshot initialization after state sync
- Fixed panic when running avalanchego in environments with an incorrectly implemented monotonic clock
- Fixed memory corruption when accessing keys and values from released pebbledb iterators
- Fixed prefixdb compaction when specifying a
nil
limit
What's Changed
- Consolidate record poll by @aaronbuchwald in #2970
- Update metercacher to use vectors by @StephenButtolph in #2979
- Reduce p2p sdk metrics by @StephenButtolph in #2980
- Use vectors in message queue metrics by @StephenButtolph in #2985
- Use vectors for p2p message metrics by @StephenButtolph in #2983
- Simplify gossip metrics by @StephenButtolph in #2984
- Use vectors for message handler metrics by @StephenButtolph in #2987
- Use vector in message sender by @StephenButtolph in #2988
- Simplify go version maintenance by @marun in #2977
- Use vector for router latency metrics by @StephenButtolph in #2989
- Use vectors for accepted tx and block metrics by @StephenButtolph in #2990
- fix: version application error by @jujube in #2995
- Chore: fix some typos. by @hattizai in #2993
- Cleanup meterdb metrics by @StephenButtolph in #2991
- Cleanup compression metrics by @StephenButtolph in #2992
- Fix antithesis image publication by @marun in #2998
- Remove unused
Metadata
struct by @dhrubabasu in #3001 - prefixdb: fix bug with Compact nil limit by @a1k0n in #3000
- Update go version to 1.21.10 by @marun in #3004
- vms/txs/mempool: unify avm and platformvm mempool implementations by @lebdron in #2994
- Use gauges for time metrics by @StephenButtolph in #3009
- Chore: fix typos. by @cocoyeal in #3010
- [antithesis] Refactor existing job to support xsvm test setup by @marun in #2976
- chore: fix some function names by @cartnavoy in #3015
- Mark nodes as connected to the P-chain networking stack by @StephenButtolph in #2981
- [antithesis] Ensure images with a prefix are pushed by @marun in #3016
- boostrapper: compact blocks before iterating them by @a1k0n in #2997
- Remove pre-Durango networking checks by @StephenButtolph in #3018
- Repackaged upgrades times into upgrade package by @abi87 in #3019
- Standardize peer logs by @StephenButtolph in #3017
- Fix pebbledb memory corruption by @StephenButtolph in #3020
- [vms/avm] fix linter error in benchmark : Use of weak random number generator by @tsachiherman in #3023
- Simplify sampler interface by @StephenButtolph in #3026
- [build] Update linter version by @tsachiherman in #3024
- fix broken link. by @cocoyeal in #3028
gossipping
->gossiping
by @dhrubabasu in #3033- [tmpnet] Ensure tmpnet compatibility with windows by @marun in #3002
- Fix negative ETA caused by rollback in vm.SetState by @StephenButtolph in #3036
- [tmpnet] Enable single node networks by @marun in #3003
- P-chain - introducing fees calculators by @abi87 in #2698
- Change default staking key from RSA 4096 to secp256r1 by @StephenButtolph in #3025
- Fix ACP links by @dhrubabasu in #3037
- Prevent unnecessary bandwidth from activated ACPs by @dhrubabasu in #3031
- [antithesis] Add test setup for xsvm by @marun in #2982
- [antithesis] Ensure node image is pushed by @marun in #3042
- Cleanup fee config passing by @StephenButtolph in #3043
- Fix typo fix by @StephenButtolph in #3044
- Grab iterator at previously executed height by @StephenButtolph in #3045
- Verify signatures during Parse by @StephenButtolph in #3046
New Contributors
- @jujube made their first contribution in #2995
- @hattizai made their first contribution in #2993
- @a1k0n made their first contribution in #3000
- @lebdron made their first contribution in #2994
- @cocoyeal made their first contribution in #3010
- @cartnavoy made their first contribution in #3015
- @tsachiherman made their first contribution in #3023
Full Changelog: v1.11.5...v1.11.6