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

Use per CFS queue to track pending flushes #3280

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

aweisberg
Copy link
Contributor

@aweisberg aweisberg commented Apr 30, 2024

No description provided.

@@ -3993,7 +3993,7 @@ protected synchronized void drain(boolean isFinalShutdown) throws IOException, I
CommitLog.instance.shutdownBlocking();

// wait for miscellaneous tasks like sstable and commitlog segment deletion
ColumnFamilyStore.shutdownPostFlushExecutor();
ColumnFamilyStore.awaitPendingFlushes();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am concerned that this might get stuck waiting pending flushes and then never actually finish because the executors or components that might finish them never get to run. Need to check this when I get back to working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant