Skip to content

vendor: Bump pebble to a08efa805781318782db494653e33dc209ffd622#50280

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
itsbilal:bump-pebble
Jun 17, 2020
Merged

vendor: Bump pebble to a08efa805781318782db494653e33dc209ffd622#50280
craig[bot] merged 1 commit intocockroachdb:masterfrom
itsbilal:bump-pebble

Conversation

@itsbilal
Copy link
Copy Markdown
Contributor

@itsbilal itsbilal commented Jun 16, 2020

Changes pulled in:

  • 223327f23e83e69f18ad1ba45d931ed0b20f7627 internal/record: Handle ErrUnexpectedEOFs like invalid records
  • c1719779831f5ce6094b6366c0afe28c31b7a2c2 db: wake all waiters on cleaner.cond on state transitions
  • b893bb26369d8124ee11c3e0cff97a41c68022ca internal/manifest: Don't error when intra-L0 seed file is compacting
  • d656faf2c4567d5b23dbf079daa46d6b13d8cc29 db: tweak the compaction concurrency heuristics
  • f550e81e347485b8309cf8b221c67285b89d777b db: fix mergingIter corner case surrounding range tombstones
  • ca93fc7b74b4c87d82fe358ba3c740df16906a63 internal/metamorphic: fail tests on calls to Fatalf
  • bf0653a8f1b07c364b9ff91ee55da3023aed968a docs: add doc on Linux I/O profiling tools
  • cb9c3090f41715ddb29ff52f15562143c1a7f390 *: Add error.Wrap() call to errors from wal/manifest record reader
  • 330d079d4e334db1045fc932beb0fcd21c859a30 *: consistently capitalize Sublevels
  • fc886eca19e6b55105e609f47132699592e9d9c9 *: Enable flush splits in L0

Fixes #49747.

Release note (bug fix): Fix a bug where an "unexpected EOF" error would
be returned at startup with the pebble storage engine, if the last instance
of cockroach crashed in a rare case of the write-ahead log being written to.

@itsbilal itsbilal requested a review from petermattis June 16, 2020 16:02
@itsbilal itsbilal self-assigned this Jun 16, 2020
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@itsbilal
Copy link
Copy Markdown
Contributor Author

@petermattis does your concurrency fix need a release note as well?

Copy link
Copy Markdown
Collaborator

@petermattis petermattis left a comment

Choose a reason for hiding this comment

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

LGTM

The compaction concurrency change was a performance improvement for a subset of workloads. I'm on the fence about whether it needs a release note.

Nit on the existing release note: the bug would only sometimes manifest. The way it is written now it makes it seem like it would always manifest.

@itsbilal
Copy link
Copy Markdown
Contributor Author

I added in a rare case to the release note, both here and in #50282 . Thanks for pointing that out!

@itsbilal
Copy link
Copy Markdown
Contributor Author

CI failure seems to be unrelated to this PR, as the test also fails on master. Will merge when that's fixed.

Changes pulled in:
 - 223327f23e83e69f18ad1ba45d931ed0b20f7627 internal/record: Handle ErrUnexpectedEOFs like invalid records
 - c1719779831f5ce6094b6366c0afe28c31b7a2c2 db: wake all waiters on cleaner.cond on state transitions
 - b893bb26369d8124ee11c3e0cff97a41c68022ca internal/manifest: Don't error when intra-L0 seed file is compacting
 - d656faf2c4567d5b23dbf079daa46d6b13d8cc29 db: tweak the compaction concurrency heuristics
 - f550e81e347485b8309cf8b221c67285b89d777b db: fix mergingIter corner case surrounding range tombstones
 - ca93fc7b74b4c87d82fe358ba3c740df16906a63 internal/metamorphic: fail tests on calls to Fatalf
 - bf0653a8f1b07c364b9ff91ee55da3023aed968a docs: add doc on Linux I/O profiling tools
 - cb9c3090f41715ddb29ff52f15562143c1a7f390 *: Add error.Wrap() call to errors from wal/manifest record reader
 - 330d079d4e334db1045fc932beb0fcd21c859a30 *: consistently capitalize Sublevels
 - fc886eca19e6b55105e609f47132699592e9d9c9 *: Enable flush splits in L0

Fixes cockroachdb#49747.

Release note (bug fix): Fix a bug where an "unexpected EOF" error would
be returned at startup with the pebble storage engine, if the last instance
of cockroach crashed in a rare case of the write-ahead log being written to.
@itsbilal
Copy link
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 17, 2020

Build succeeded

@craig craig bot merged commit 32e5837 into cockroachdb:master Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

roachtest: acceptance/bank/cluster-recovery failed

3 participants