-
Notifications
You must be signed in to change notification settings - Fork 9
Update to rocksbd-5.3.6 to fix a problem in the rocksdb jni wrapper #9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@merlimat you have a lot more experience with rocksdb than I do. Could you take a look at facebook/rocksdb#2472? I found it while trying to make a release with this change in it and it scares me enough that I am tempted to revert this pull request, but I wanted to hear from you first. |
@revans2 The change you mentioned in the rocksdb issue it's very large and it's difficult to understand all the implications of it. The only difference I see, when running with The other possibility would be some bug in the JNI wrapper that only shows up when the optimizer is enabled. Have you guys seen any problem related to this when running the bookies? |
@merlimat We have not moved to 5.3.6 yet. I found the issue as we were preparing to do so, so I cannot say anything about production. The only other difference I know of is that |
I only did some test some time back (with rocksdb-5.3.4) when I added the deleteRange to DbLedgerStorage. I was about to get started testing with the last 1.18 release bookies and brokers in the next few days. |
@revans2 One thing from your comment: you said the problem was "apparently" fixed in master in a commit that reordered the fields in |
@msb-at-yahoo might have some idea on how the reordering might have "fixed" the issue. |
@merlimat I figured out what the issue is. It looks like an assertion is providing some kind of protection and DEBUG=0 disables that assertion which lets a test do bad things. No need to revert things, but it might be good going forward to run bookies with |
No description provided.