Skip to content
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

feat(thirdparty): use official rocksdb #1048

Merged
merged 2 commits into from
Nov 8, 2022

Conversation

acelyc111
Copy link
Member

@acelyc111 acelyc111 commented Jul 12, 2022

#1047

For some historical reasons, we use the Xiaomi modified rocksdb library. Since Pegasus 2.1.0, we have removed all modifications on rocksdb, only left some code to keep compatiable [1], now we are planning to switch to the official version.

It's expect that thirdparty/rocksdb_fix_atomic_flush_0879c240.patch must be corresponding to this patch [2].

ATTENTION: There is a limit that the server must be upgraded from 2.1, 2.2, 2.3 or 2.4, to ensure that there is no Pegasus introduced tags which the official rocksdb doesn't recognize left in MANIFEST file.

  1. https://github.com/XiaoMi/pegasus-rocksdb/commits/v6.6.4-compatible
  2. XiaoMi/pegasus-rocksdb@ef29819

levy5307
levy5307 previously approved these changes Jul 14, 2022
Copy link
Contributor

@foreverneverer foreverneverer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hope block merge before release 2.4

@levy5307
Copy link
Contributor

hope block merge before release 2.4

Better to convert it to draft :)

@github-actions github-actions bot added the build label Jul 25, 2022
@acelyc111 acelyc111 force-pushed the use_official_rocksdb branch from ee9db91 to a885555 Compare July 25, 2022 03:29
@acelyc111 acelyc111 force-pushed the use_official_rocksdb branch 2 times, most recently from 2a6dee8 to 779906c Compare September 27, 2022 16:19
@acelyc111
Copy link
Member Author

hope block merge before release 2.4

@foreverneverer Since we have created an separete branch v2.4 for releasing 2.4.0, so could we continue this work?

@acelyc111 acelyc111 force-pushed the use_official_rocksdb branch from 779906c to 78d7a45 Compare November 7, 2022 02:26
@acelyc111 acelyc111 force-pushed the use_official_rocksdb branch from 78d7a45 to b0d7c7c Compare November 8, 2022 09:02
@github-actions github-actions bot added the cpp label Nov 8, 2022
@acelyc111 acelyc111 added the type/incompatible Changes that introduced incompatibility to Pegasus. label Nov 8, 2022
@acelyc111 acelyc111 merged commit 01ca71c into apache:master Nov 8, 2022
ZhongChaoqiang pushed a commit to ZhongChaoqiang/incubator-pegasus that referenced this pull request Nov 28, 2022
@empiredan empiredan mentioned this pull request Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build cpp thirdparty type/incompatible Changes that introduced incompatibility to Pegasus.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants