-
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
go.mod: revert comparer change and bump Pebble to 0f785fec58c0 #131366
go.mod: revert comparer change and bump Pebble to 0f785fec58c0 #131366
Conversation
c652250
to
1d6d3de
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.
Reviewed 8 of 8 files at r1, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @itsbilal)
Might be worth holding off on this for at least a day so we can get the fix for cockroachdb/pebble#3963 |
Yes, agreed. |
1d6d3de
to
d9e1e08
Compare
Updated to the current Pebble master. |
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.
LGTM
I'm getting this test error:
Any ideas why this changed? |
I don't like that test. I've run afoul of it before, because it ends up asserting on details of the storage engine mechanics. I've got no idea why we'd be getting zero block cache hits though. |
Looking at the logs, it's sometimes possible for the keys to just stick around in the WAL/memtable. Let me see if I can force a flush in the test. |
This should deflake this test:
|
Thank you!! What's the explanation why a 1MB cache leads to no hits? |
The comparer changes effectively revert cockroachdb#128043, which can cause replica inconsistency during/after upgrades. Changes: * [`0f785fec`](cockroachdb/pebble@0f785fec) metamorphic: abridge failure output * [`be56747f`](cockroachdb/pebble@be56747f) db: fix overlap check for flushable ingest excises * [`2569414a`](cockroachdb/pebble@2569414a) db: remove race in TestCrashOpenCrashAfterWALCreation * [`575f7a04`](cockroachdb/pebble@575f7a04) sstable: support columnar blocks in Layout.Describe * [`c88c7471`](cockroachdb/pebble@c88c7471) github: fix code cover publish workflow * [`c0fa4a9c`](cockroachdb/pebble@c0fa4a9c) sstable: populate CompareSuffixes on test4bSuffixComparer * [`3a76074f`](cockroachdb/pebble@3a76074f) sstable: set IndexPartitions property in columnar sstable writer * [`0595c1fb`](cockroachdb/pebble@0595c1fb) colblk: define behavior of KeyWriter.ComparePrev with no previous * [`01dcf575`](cockroachdb/pebble@01dcf575) base: make comparer tolerate empty keys * [`d73ab80f`](cockroachdb/pebble@d73ab80f) db: allow excises to unconditionally be flushable ingests * [`b34a3937`](cockroachdb/pebble@b34a3937) base: allow CompareSuffixes to be stricter than Compare * [`90356021`](cockroachdb/pebble@90356021) db: refactor replayWAL to use flushes to make versionEdits Informs: cockroachdb#130533 Release note: none. Epic: none.
d9e1e08
to
a15c74e
Compare
bors r+ |
I actually don't know either, but I also wasn't able to really understand what the test was doing so.... |
The comparer changes effectively revert #128043, which can cause
replica inconsistency during/after upgrades.
Changes:
0f785fec
metamorphic: abridge failure outputbe56747f
db: fix overlap check for flushable ingest excises2569414a
db: remove race in TestCrashOpenCrashAfterWALCreation575f7a04
sstable: support columnar blocks in Layout.Describec88c7471
github: fix code cover publish workflowc0fa4a9c
sstable: populate CompareSuffixes on test4bSuffixComparer3a76074f
sstable: set IndexPartitions property in columnar sstable writer0595c1fb
colblk: define behavior of KeyWriter.ComparePrev with no previous01dcf575
base: make comparer tolerate empty keysd73ab80f
db: allow excises to unconditionally be flushable ingestsb34a3937
base: allow CompareSuffixes to be stricter than Compare90356021
db: refactor replayWAL to use flushes to make versionEditsInforms: #130533
Release note: none.
Epic: none.