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

Potential fix for stress test failure due to "SST file ahead of WAL" error (#5412) #34

Merged
merged 1 commit into from
Jun 12, 2019

Conversation

ajkr
Copy link

@ajkr ajkr commented Jun 6, 2019

This is an unclean backport of
facebook#5412. I removed the change to
SyncClosedLogs() calling LogWriter::Close() since our 5.17 branch
does not have LogWriter::Close() implemented. I believe this is fine
to omit because we aren't calling SyncClosedLogs() during flush in
our single-CF use case.


This change is Reviewable

…error (facebook#5412)

This is an unclean backport of
facebook#5412. I removed the change to
`SyncClosedLogs()` calling `LogWriter::Close()` since our 5.17 branch
does not have `LogWriter::Close()` implemented. I believe this is fine
to omit because we aren't calling `SyncClosedLogs()` during flush in
our single-CF use case.
@ajkr ajkr merged commit c20082b into crl-release-5.17.2 Jun 12, 2019
@ajkr ajkr deleted the backport-pr5412 branch June 14, 2019 19:22
ajkr added a commit to ajkr/cockroach that referenced this pull request Jun 23, 2019
Includes the following changes, all of which have landed upstream.

- cockroachdb/rocksdb#32: "Fix merging range tombstone covering put during flush/compaction"
- cockroachdb/rocksdb#33: "Dynamic test whether sync_file_range returns ENOSYS"
- cockroachdb/rocksdb#34: "Potential fix for stress test failure due to "SST file ahead of WAL" error"
- cockroachdb/rocksdb#35: "Avoid deadlock between mutex_ and log_write_mutex_"

Fixes cockroachdb#37752.

Release note (bug fix): Fixed possible deadlock when storage engine
write fails.

Release note (bug fix): Fixed potential reappearance of deleted
timeseries data, which could trip consistency checker.

Release note (bug fix): Removed dependency on `sync_file_range` on
Linux platforms on which it returns `ENOSYS`, such as WSL (Windows
Subsystem for Linux).
craig bot pushed a commit to cockroachdb/cockroach that referenced this pull request Jun 23, 2019
38170: c-deps: bump rocksdb for multiple backported PRs r=ajkr a=ajkr

Includes the following changes, all of which have landed upstream.

- cockroachdb/rocksdb#32: "Fix merging range tombstone covering put during flush/compaction"
- cockroachdb/rocksdb#33: "Dynamic test whether sync_file_range returns ENOSYS"
- cockroachdb/rocksdb#34: "Potential fix for stress test failure due to "SST file ahead of WAL" error"
- cockroachdb/rocksdb#35: "Avoid deadlock between mutex_ and log_write_mutex_"

Fixes #37752.

Release note (bug fix): Fixed possible deadlock when storage engine
write fails.

Release note (bug fix): Fixed potential reappearance of deleted
timeseries data, which could trip consistency checker.

Release note (bug fix): Removed dependency on `sync_file_range` on
Linux platforms on which it returns `ENOSYS`, such as WSL (Windows
Subsystem for Linux).

Co-authored-by: Andrew Kryczka <andrew.kryczka2@gmail.com>
ajkr added a commit to ajkr/cockroach that referenced this pull request Jun 26, 2019
Includes the following changes, all of which have landed upstream.

- cockroachdb/rocksdb#32: "Fix merging range tombstone covering put during flush/compaction"
- cockroachdb/rocksdb#33: "Dynamic test whether sync_file_range returns ENOSYS"
- cockroachdb/rocksdb#34: "Potential fix for stress test failure due to "SST file ahead of WAL" error"
- cockroachdb/rocksdb#35: "Avoid deadlock between mutex_ and log_write_mutex_"

Fixes cockroachdb#37752.

Release note (bug fix): Fixed possible deadlock when storage engine
write fails.

Release note (bug fix): Fixed potential reappearance of deleted
timeseries data, which could trip consistency checker.

Release note (bug fix): Removed dependency on `sync_file_range` on
Linux platforms on which it returns `ENOSYS`, such as WSL (Windows
Subsystem for Linux).
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.

None yet

2 participants