[Help] Trying to upgrade to recent RocksDB #66435
Replies: 7 comments
-
|
Original author: tabokie Hi, I am on leave this couple of weeks. But I take a look at your errors, it should be related to these PRs: |
Beta Was this translation helpful? Give feedback.
-
|
Original author: harpocrates Hey @tabokie sorry I just realized I didn’t respond but yeah it helped. I’m slowly making some progress and will keep asking you on this thread if I’m stuck again. Thanks |
Beta Was this translation helpful? Give feedback.
-
|
Original author: harpocrates Hey @tabokie, I’m still trying to make it work. Can you tell me what am I supposed to do to confirm it’s working as expected before I create a PR ? I’m running |
Beta Was this translation helpful? Give feedback.
-
|
Original author: tabokie Yeah, you can do that. Normally we just make sure the code can compile and is formatted before filing a PR. |
Beta Was this translation helpful? Give feedback.
-
|
Original author: harpocrates Can you create a new branch or tell me which branch I should create the PR on ? I suppose it doesn’t make sense to create it on 6.29.tikv and you have a dev branch somewhere.
If I execute one of DBWriteTest.PostWriteCallback-? it succeeds one or multiple times then crashes |
Beta Was this translation helpful? Give feedback.
-
|
Original author: harpocrates @tabokie ^ |
Beta Was this translation helpful? Give feedback.
-
|
Original author: tabokie @harpocrates That’s really impressive work! Thanks for putting in the time. For the PR, you can create one against 6.29.tikv. If needed I will make some adjustments to our internal CI so that your changes can compile there. Once the changes are approved, I will manually create a branch with your changes in it as the new default branch. And BTW sorry for the delay, I am not paying much attention to the forum. If there’s any problem you can ping me on GitHub more easily. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Original author: harpocrates
Original time: 2023-03-21 03:04:01.332989
Original ID/Slug: 477 / help-trying-to-upgrade-to-recent-rocksdb
I’m trying to upgrade RocksDB to a more recent version and I have the following error when compiling the code I have at the moment https://pastebin.com/raw/W0KaSCjJ. What is weird is that the part that doesn’t compile is exactly the same as in the current version of tikv/rocksdb and it fails on rocksdb/include/rocksdb/db.h at 6.29.tikv · tikv/rocksdb · GitHub.
What is annoying is that it complains about 2 things as you can see, a conversion issue and the fact there is some deprecated code. But the same code in your repo with the exact same compiler doesn’t fail. So any idea what is going on ? What is also surprising is that vscode sees the same conversion error in my repo but not in yours when both files are similar there. It happens after it parses some Makefile or CMakeFile but I can’t see where it comes atm. I also try to run the exact same cc1plus command and it fails the same. Any guidance would be much appreciated, @tabokie can you help on this ?
Beta Was this translation helpful? Give feedback.
All reactions