-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
storage: change default engine type from RocksDB to Pebble #48145
storage: change default engine type from RocksDB to Pebble #48145
Conversation
[The first commit is #48144]. I'm not sure we want to merge this quite yet, but putting it out there for review and to see what CI thinks of it. I still have to do a full roachtest run on this PR to make sure that no roachtest regressions have slipped in. |
❌ The GitHub CI (Cockroach) build has failed on 147cb552. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
147cb55
to
193ba98
Compare
❌ The GitHub CI (Cockroach) build has failed on 193ba988. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
0dbccd3
to
3b97957
Compare
❌ The GitHub CI (Cockroach) build has failed on 3b97957d. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
3b97957
to
58b1de3
Compare
❌ The GitHub CI (Cockroach) build has failed on 58b1de3c. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
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.
PR title and commit message should have engines in the opposite order, unless we're going back in time 😂
Reviewed 5 of 5 files at r1.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @jbowens)
Ha! Oops. |
58b1de3
to
1d05b84
Compare
❌ The GitHub CI (Cockroach) build has failed on 1d05b844. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
|
1d05b84
to
cd190ae
Compare
Should be fixed now. I need to do another full roachtest-on-pebble run to make sure no failures have slipped in. Otherwise, this is good to go. |
❌ The GitHub CI (Cockroach) build has failed on cd190ae6. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
Filed #48413 about the CI failure which looks unrelated to this PR. |
❌ The GitHub CI (Cockroach) build has failed on cd190ae6. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
❌ The GitHub CI (Cockroach) build has failed on cd190ae6. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
cd190ae
to
c0da218
Compare
❌ The GitHub CI (Cockroach) build has failed on c0da218d. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
c0da218
to
3d63dc1
Compare
❌ The GitHub CI (Cockroach) build has failed on 3d63dc1a. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
3d63dc1
to
3506ed1
Compare
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.
Is that a green checkmark I see?
Reviewed 4 of 4 files at r2.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @jbowens)
Almost time. I still need to do another roachtest-on-Pebble run. |
This flips the switch to use Pebble by default. This will cause all tests which don't explicitly specify RocksDB (i.e. the vast majority) to now use Pebble. One exception is certain roachtests which create store directories using older versions of CRDB and then upgrade to the current version. Those tests will continue to use RocksDB (for now) due to the nature of how `--storage-engine=...` is "sticky" if not specified, defaulting to the previously used storage engine. Release note (general change): Change the default engine type for new storage directories from RocksDB to Pebble. Existing stores will continue to use the previously specified storage engine, and an explicit specification (via `--storage-engine=...`) will override the default.
See cockroachdb#48603 Release note: None
3506ed1
to
5d08f59
Compare
256 PASS, 12 FAIL. 1 of the failures is real ("synctest" is now skipped, see #48603). 3 of the failures were due to test infrastructure problems. The remaining 8 failures are flaky tests that periodically fail on RocksDB as well. I looked at all of the failures and nothing Pebble-specific jumped out about them. I'm going to merge this when CI is green. |
TFTR! 🤞 bors r+ |
Build failed (retrying...) |
Build succeeded |
This flips the switch to use Pebble by default. This will cause all tests
which don't explicitly specify RocksDB (i.e. the vast majority) to now use
Pebble. One exception is certain roachtests which create store directories
using older versions of CRDB and then upgrade to the current version. Those
tests will continue to use RocksDB (for now) due to the nature of how
--storage-engine=...
is "sticky" if not specified, defaulting to thepreviously used storage engine.
Release note (general change): Change the default engine type for new
storage directories from RocksDB to Pebble. Existing stores will continue
to use the previously specified storage engine, and an explicit
specification (via
--storage-engine=...
) will override the default.