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

Revert "c-deps: fix assertion-enabled builds" #39562

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

tbg
Copy link
Member

@tbg tbg commented Aug 12, 2019

This reverts commit 717c185.

Apparently we violate the assertions. This needs to be fixed, but until
then, let's keep the ball rolling.

The assertion failures typically take the form

L0 file with seqno 90 90 vs. file with global_seqno 90
SIGABRT: abort

See for example #39559

One likely culprit is #38932, see:

#39034 (comment)

Release note: None

This reverts commit 717c185.

Apparently we violate the assertions. This needs to be fixed, but until
then, let's keep the ball rolling.

One likely culprit is cockroachdb#38932, see:

cockroachdb#39034 (comment)

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg tbg requested review from ajkr and petermattis August 12, 2019 09:25
@knz
Copy link
Contributor

knz commented Aug 12, 2019

Interesting find. Curious to see next steps. LGTM

@tbg
Copy link
Member Author

tbg commented Aug 12, 2019

TC passed the race build, so I assume it'll be green

bors r=knz

I expect the resolution to be driven by @jeffrey-xiao, @nvanbenschoten, and @ajkr.

craig bot pushed a commit that referenced this pull request Aug 12, 2019
39562: Revert "c-deps: fix assertion-enabled builds" r=knz a=tbg

This reverts commit 717c185.

Apparently we violate the assertions. This needs to be fixed, but until
then, let's keep the ball rolling.

The assertion failures typically take the form

> L0 file with seqno 90 90 vs. file with global_seqno 90
SIGABRT: abort

See for example #39559

One likely culprit is #38932, see:

#39034 (comment)

Release note: None

Co-authored-by: Tobias Schottdorf <tobias.schottdorf@gmail.com>
@tbg
Copy link
Member Author

tbg commented Aug 12, 2019

Filed #39564 to track the resolution.

@craig
Copy link
Contributor

craig bot commented Aug 12, 2019

Build succeeded

ajkr added a commit to ajkr/rocksdb that referenced this pull request Sep 26, 2019
This is necessary to revert
cockroachdb/cockroach#39562 to support RocksDB
built without `-DNDEBUG`. Consecutive files ingested to L0 may be
assigned the same seqnum, and this PR updates the LSM validation to
allow that.

There is a longer-term fix in
facebook#5539. We should take that
later, maybe after the 19.2 release.

Test Plan: ran some tests that previously failed with corruption error
like `ENABLE_ROCKSDB_ASSERTIONS=1 make
PKG=github.com/cockroachdb/cockroach/pkg/ccl/backupccl testrace`;
verified they succeed now.
ajkr added a commit to ajkr/rocksdb that referenced this pull request Sep 27, 2019
This is necessary to revert
cockroachdb/cockroach#39562 to support RocksDB
built without `-DNDEBUG`. Consecutive files ingested to L0 may be
assigned the same seqnum, and this PR updates the LSM validation to
allow that.

There is a longer-term fix in
facebook#5539. We should take that
later, maybe after the 19.2 release.

Test Plan: ran some tests that previously failed with corruption error
like `ENABLE_ROCKSDB_ASSERTIONS=1 make
PKG=github.com/cockroachdb/cockroach/pkg/ccl/backupccl testrace`;
verified they succeed now.
ajkr added a commit to cockroachdb/rocksdb that referenced this pull request Sep 27, 2019
This is necessary to revert
cockroachdb/cockroach#39562 to support RocksDB
built without `-DNDEBUG`. Consecutive files ingested to L0 may be
assigned the same seqnum, and this PR updates the LSM validation to
allow that.

There is a longer-term fix in
facebook#5539. We should take that
later, maybe after the 19.2 release.

Test Plan: ran some tests that previously failed with corruption error
like `ENABLE_ROCKSDB_ASSERTIONS=1 make
PKG=github.com/cockroachdb/cockroach/pkg/ccl/backupccl testrace`;
verified they succeed now.
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.

3 participants