-
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: bump Pebble to e9a8c4ad65c5 #98078
go.mod: bump Pebble to e9a8c4ad65c5 #98078
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.
Looks like there are some interface changes that we need to account for.
Reviewable status: complete! 0 of 0 LGTMs obtained
10a476f
to
0126cad
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.
Yeah, I forgot about the writable API change. The changes were more extensive than I expected. PTAL
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @rhu713)
0126cad
to
7186fa6
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.
I took a fairly mechanical pass through the changes.
Reviewed 4 of 4 files at r1, 32 of 32 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @RaduBerinde and @rhu713)
pkg/storage/sst_writer.go
line 461 at r2 (raw file):
} //// Flush implements the same interface as the standard library's *bufio.Writer's
nit: dead code?
e9a8c4ad sstable: fix error path in writer.Close fdf055dd db: improve documentation of tableNewIters 717cbce0 db: add Options.LoggerAndTracer for tracing 7751e381 objstorage: better Writable API 78c8001e db: add missing error check in TestIngestLoad 1334233b metamorphic: add unit test for Options propagation ed824c76 objstorage: rename ReadaheadHandle to ReadHandle The "better Writable API" changed the interface to write to SST files. This commit contains the required changes in Cockroach: MemFile is now MemObject and implements objstorage.Writable. There were many test places that were using MemFile as just an io.Writer; these are updated to just use bytes.Buffer. Informs cockroachdb#97350. Release note: none Epic: none
7186fa6
to
90ba5a1
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.
TFTR!
Reviewable status: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @nicktrav and @rhu713)
pkg/storage/sst_writer.go
line 461 at r2 (raw file):
Previously, nicktrav (Nick Travers) wrote…
nit: dead code?
Fixed.
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 1 of 1 files at r4, all commit messages.
Reviewable status: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @rhu713)
bors r+ |
Build succeeded: |
e9a8c4ad sstable: fix error path in writer.Close
fdf055dd db: improve documentation of tableNewIters
717cbce0 db: add Options.LoggerAndTracer for tracing
7751e381 objstorage: better Writable API
78c8001e db: add missing error check in TestIngestLoad
1334233b metamorphic: add unit test for Options propagation
ed824c76 objstorage: rename ReadaheadHandle to ReadHandle
Informs #97350.
Release note: none
Epic: none