Skip to content

Conversation

@snaury
Copy link
Member

@snaury snaury commented Mar 26, 2024

Changelog entry

Fixed a race between table merge and borrowed gc compaction.

Changelog category

  • Bugfix

Additional information

A fix in #2286 introduced a race, where datashard allowed local database to compact borrowed data before all borrowed data is actually loaded and merged into the table. This caused local database borrowed compaction to later fail due to unexpected epoch invariant violations.

Fixes #3154.

@snaury snaury requested a review from azevaykin March 26, 2024 13:18
@snaury snaury marked this pull request as ready for review March 26, 2024 13:18
@github-actions
Copy link

github-actions bot commented Mar 26, 2024

2024-03-26 13:21:08 UTC Pre-commit check for 605bf93 has started.
2024-03-26 13:21:10 UTC Build linux-x86_64-release-asan is running...
🟢 2024-03-26 13:24:16 UTC Build successful.
2024-03-26 13:24:33 UTC Tests are running...
🔴 2024-03-26 14:51:00 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
14422 14193 0 43 159 27

@github-actions
Copy link

github-actions bot commented Mar 26, 2024

2024-03-26 13:21:09 UTC Pre-commit check for 605bf93 has started.
2024-03-26 13:21:11 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-03-26 13:24:05 UTC Build successful.

@github-actions
Copy link

github-actions bot commented Mar 26, 2024

2024-03-26 13:21:18 UTC Pre-commit check for 605bf93 has started.
2024-03-26 13:21:21 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-03-26 13:24:21 UTC Build successful.
2024-03-26 13:24:33 UTC Tests are running...
🔴 2024-03-26 14:39:06 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
69044 57944 0 2 11031 67

@snaury snaury self-assigned this Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DataShard: table merge and borrowed compaction race

2 participants