-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leveldb exception handle #3356
Comments
Need more information. |
description updated |
Seems that the data is corrupted, it's a fresh installation? |
fresh with master |
probably due to the unhanded exception management feature, but still did not investigate further. |
Is it because the 4 nodes are using the same directory for leveldb? |
Based off the source code from you error, It look like this Your database is corrupt. try deleting it to see if the problem goes away. Has to do with // User key has become shorter physically, but larger logically.
// Tack on the earliest possible number to the shortened user key. |
No @cschuchardt88 , it is a recent introduced problem. |
its because you run too many nodes in the same machine that all use leveldb. Not a core problem. This happens every time when you run multiple nodes in the same machine. |
No. This is not true in my Setup. |
Too much complaints and not a real investigation in a simple scenario. Without minimum tests the neo-cli will be unused until we implement the exception handle and find the BASIC problems. |
You can say this when you locate the real problem. We have being working like this for many years, and all of a sudden its all wrong, we all become complainers? And our work are lack of investigation products? But we definitely have tested it, checked it everywhere, and for this one, i have run the node~~~~ And i have asked help from NGD to test it as well. But code were there, pr were there, you were able to test, to review, to comment. We have followed your suggestion to leave it for a while to review. Actually that pr was there for a week before i collected sufficient review approvals. Before we release any new version, we still can correct any problem, so chill. A team means even some one made some problem, some one else can correct it, isn't it?
Funny part is we should have crashed with unhandled exception, unless we have set plugins to ignore unhandled exception. I would say that pr have found an issue, if any, instead of introduced an issue. BTW, i admit that even if i run the test on my machine, i at most run a single node,,,,, i dont have a 4 nodes private net test environment. I will create one. |
It was not a problem for me either, I used NeoBench to run 4-nodes and 7-nodes privnet with Dockerized C# nodes on my single machine, and it was OK.
I'd suggest you to use NeoBench, but it's not yet updated to use fresh monorepo, we have nspcc-dev/neo-bench#175 for that. |
Are you using leveldb? Maybe it was rocksdb instead. Were your experiments with master branch? |
Try doing |
This is not the case, @cschuchardt88 . The testing environment is the same for testing with and without the PR being reverted. The behavior may not the wrong. But before merging that PR this should had been tested because the problem is simple to be seen. |
Try with this version of |
i would love to argue, but i am not an expert of leveldb, all i can say is now it happened, and apparently a leveldb exception, not related to the core. possible reasons could be: platform, os, version, dependencies. i would suggest to try rockdb and memorydb as well. |
So, this error without the Exception Handle was good and safe to run a node? |
It's a corruption problem. We need more information on your setup :
|
Yes
Master compiled plugin and it is all dockerfile in a container with the amount of threads that is necessary for it to run safe. The problem could be due to some limitation on leveldb safe off course. But that should be handled before the PR was merged. Only way to run a node nowdays is memorystore. |
Still crashing. I thought it was solved but my config was with "MemoryStore" instead. The problem persist even updating all libraries for dotnet during build and run. RocksDb is also corrupted. But perhaps a difference reason. |
I will setup a multi-nodes on my machine, will check it. |
not entirely related, but see neo-project/neo-express#455 |
fixed |
Describe the bug
Run a setup with 4 nodes running private net
To Reproduce
Steps to reproduce the behavior:
Start nodes and they will crash almost instantaneously
Error
The text was updated successfully, but these errors were encountered: