-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset trimmed table on reopen to avoid throwing TrimmedException (#3588)
* Reset trimmed table on reopen to avoid throwing TrimmedException On upgrade scenarios, it is possible that some tables are new to a version and when they are accessed in some corner cases, a TrimmedException is thrown. This fix on reopening a table, mimicks the compactor by appending a HOLE to the empty stream, thus avoiding the TrimmedException. * Do resetTrimmedTable within a transaction
- Loading branch information
1 parent
16175ee
commit 38847dd
Showing
4 changed files
with
258 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters