-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: The number of SST files at local peer is updated after something is appended to local Raft log. But there is possible scenario when nothing is appended to log, after number of SST files was updated. For instance because writes are rejected due to big number of SST files. So we get into deadlock state, where we reject writes because too big number of SST files. But number of SST files is not updates, because nothing is written. This diff resolves the issue by adding alternative channel for SST files number update. Test Plan: ybd --gtest_filter QLStressTest.WriteStop Reviewers: timur, bogdan Reviewed By: timur, bogdan Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D7804
- Loading branch information
Showing
16 changed files
with
320 additions
and
234 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
Oops, something went wrong.