Comments (8)
strange, lemme try to isolate this then. I'm getting another strange panic right now:
thread 'tokio-runtime-worker' panicked at 'assertion failed: previous_atomic_depth != 0', /home/mrx/snarkVM/ledger/store/src/helpers/rocksdb/internal/map.rs:217:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I'll try to revert some commits to see which one caused this.
from snarkos.
I just tested it with a fully synced client node, and indeed, it speeds things up.
- baseline (testnet3): 119.45s
- with the linked snarkVM PR: 41.75s (-65%)
from snarkos.
I've confirmed that PR significantly speeds up the startup time, and it scales especially well with high core counts.
The remaining feature request would be to provide some feedback on what the node is trying to do - even with verbosity 3 there is only a "Starting a client node" message.
from snarkos.
I'll bring AleoNet/snarkVM#1606 up to date, it should speed it up.
from snarkos.
From #2903 (comment):
Sometimes the following panic happens and the node stops syncing:
thread 'tokio-runtime-worker' panicked at 'assertion failed: self.database.atomic_batch.lock().is_empty()', /home/mrx/snarkVM/ledger/store/src/helpers/rocksdb/internal/map.rs:111:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2023-12-15T09:19:18.114699Z WARN snarkos_node::client::router: Disconnecting from '...' - task 70531 panicked
then:
2023-12-15T09:19:20.478289Z WARN snarkos_node_sync::block_sync: The next block (969045) is invalid - Cannot start an atomic batch write operation while another one is already in progress.
If this is not caused by that PR, is it possible that this is introduced by the snarkVM PR instead?
from snarkos.
The startup speed-up one? I don't think so, it's most likely a separate new issue.
from snarkos.
The remaining feature request would be to provide some feedback on what the node is trying to do - even with verbosity 3 there is only a "Starting a client node" message.
Done.
from snarkos.
closing as the snarkvm pr is closed
from snarkos.
Related Issues (20)
- [Feature] Amend superfluous is_peer_far_in_future check
- [Feature] Store batch proposal to disk on shutdown HOT 8
- [Proposal] Integrating Uptimes and Downtimes of the blockchain into Atlassian Statuspage
- [Bug] HOT 3
- [Feature]
- [Bug] test_connection_cleanups is flaky HOT 2
- [Bug] Peers are not sufficiently connecting to each other HOT 2
- [Bug] Expire or persist Batch Proposals HOT 1
- [Feature] Need a way to NOT change REST port number when --dev parameter is specified HOT 1
- [Bug] Due to changes from PR #3217, BFT sync logic is not safe, 2 malicious validators can send invalid block_locators and blocks to other nodes and halt the network HOT 4
- aleo.tools is not available HOT 2
- [Bug] Attacker can exploit validator node memory leak to halt the network HOT 5
- [Bug]Malicious validator send fake block locator and halt the network(node is syncing)
- [Bug]Malicious validator send invalid `BatchPropose` and block the `CertificateRequest`
- [Bug] Malicious validator can send fake block locator and halt the network(node is syncing) HOT 5
- [Bug] Malicious validator attack disrupts consensus by blocking certificate request HOT 4
- @ljedrz can you look into using `cfg_iter` and/or `cfg_sorted_by` to rayonify (conditionally with `feature = 'serial'`)?
- [Feature] Debian Support HOT 2
- [Bug]not able to create the collection and mint nft from collection HOT 1
- [Bug] If the number of transactions in the network is low, it may cause the network to stop HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snarkos.