Durango.6 - Bootstrapping Execution Improvements
·
878 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_sumwas replaced with*_cache_put_time*_cache_get_sumwas replaced with*_cache_get_time*_cache_hitand*_cache_misswere removed and*_cache_get_countadded aresultlabel
- Updated db metrics:
*_db_{method}_countwere replaced with*_db_callswith amethodlabel*_db_{method}_sumwere replaced with*_db_durationwith amethodlabel*_db_{method}_size_countwere deleted*_db_{method}_size_sumwere replaced with*_db_sizewith amethodlabel
- Updated p2p message compression metrics:
avalanche_network_codec_{type}_{op}_{direction}_time_countwere replaced withavalanche_network_codec_compressed_countwithdirection,op, andtypelabels
- Updated p2p message metrics:
avalanche_network_{op}_{io}were replaced withavalanche_network_msgswithcompressed:"false",io, andoplabelsavalanche_network_{op}_{io}_byteswere replaced withavalanche_network_msgs_byteswithioandoplabelsavalanche_network_{op}_compression_saved_{io}_bytes_sumwere replaced withavalanche_network_msgs_bytes_savedwithioandoplabelsavalanche_network_{op}_compression_saved_{io}_bytes_countwere replaced withavalanche_network_msgswithcompressed:"true",io, andoplabelsavalanche_network_{op}_failedwere replaced withavalanche_network_msgs_failed_to_sendwith anoplabel
- Updated p2p sdk message metrics:
*_p2p_{op}_countwere replaced with*_p2p_msg_countwith anoplabel*_p2p_{op}_timewere replaced with*_p2p_msg_timewith anoplabel
- Updated consensus message queue metrics:
avalanche_{chainID}_handler_unprocessed_msgs_{op}were replaced withavalanche_{chainID}_handler_unprocessed_msgs_countwith anoplabelavalanche_{chainID}_handler_async_unprocessed_msgs_{op}were replaced withavalanche_{chainID}_handler_unprocessed_msgs_countwith anoplabel
- Updated consensus handler metrics:
avalanche_{chainID}_handler_{op}_countwere replaced withavalanche_{chainID}_handler_messageswith anoplabelavalanche_{chainID}_handler_{op}_msg_handling_countwas deletedavalanche_{chainID}_handler_{op}_msg_handling_sumwere replaced withavalanche_{chainID}_handler_message_handling_timewith anoplabelavalanche_{chainID}_handler_{op}_sumwere replaced withavalanche_{chainID}_handler_locking_time
- Updated consensus sender metrics:
avalanche_{chainID}_{op}_failed_benchedwere replaced withavalanche_{chainID}_failed_benchedwith anoplabel
- Updated consensus latency metrics:
avalanche_{chainID}_lat_{op}_countwere replaced withavalanche_{chainID}_response_messageswith anoplabelavalanche_{chainID}_lat_{op}_sumwere replaced withavalanche_{chainID}_response_message_latencieswith anoplabel
- Updated X-chain metrics:
avalanche_X_vm_avalanche_{tx}_txs_acceptedwere replaced withavalanche_X_vm_avalanche_txs_acceptedwith atxlabel
- Updated P-chain metrics:
avalanche_P_vm_{tx}_txs_acceptedwere replaced withavalanche_P_vm_txs_acceptedwith atxlabelavalanche_P_vm_{blk}_blks_acceptedwere replaced withavalanche_P_vm_blks_acceptedwith ablklabel
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
nillimit
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
Metadatastruct 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->gossipingby @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