-
Notifications
You must be signed in to change notification settings - Fork 224
Use leveldb v1.22 for neo-cli release. #472
Comments
Jeff warned about this long ago, I agree, this should be included in the next release. |
Yes, I also saw Jeff's comments. It's necessary for us to take place the old one. |
https://www.nuget.org/packages/Neo.LevelDb.Dev/3.0.0-pre2 |
Hello @Ashuaidehao, how can we ensure this is working? Can we force the bug to happen somehow? |
@superboyiii have helped to test it, please notify us if this bug reproduct. |
@nicolegys is going to test if it's compatible with the old one on VM state, let's wait for the result. |
Build the latest RpcNep5Tracker and install it in neo-cli-2.10.3 sync to the latest height, and this issue will appear. |
@superboyiii Please, could you check if also this bug will disappear? |
@shargon @nicolegys will release the content in |
@shargon I'm a little confused. |
I don't know hahaha i only read the comment, but it should come from long time ago... |
I test with this leveldb v1.22, installing the RpcNep5Tracker(master-2.x branch), and the bug still exists. #419 So at this time, I still need to use @superboyiii 's fix , to make sure the number of chain files stable |
The issue that leveldb files undisposed has been fixed in the following PRs. And I have tested that v1.22 is compatible with the old one on VM state. So should we include leveldb v1.22 in the next release? |
Let's go for it, @nicolegys @superboyiii @shargon @Ashuaidehao ? @nicolegys and @superboyiii, you mentioned some problem with the Dump plugin? Does it proceed? If that is the case can you give an idea for us to fix it? |
I found leveldb has a critical BUG before which will cause mass leveldb files undisposed when frequently new a snapshot in a class file. Especially reproduce in Nep5Tracker plugin so I have to readjust the code to prevent it from this BUG. The bug could be seen here. google/leveldb#320
It's fixed several months ago in v1.22 release. google/leveldb#339
So I think we should include it in next neo-cli release until RocksDB applied.
The text was updated successfully, but these errors were encountered: