Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public void cacheCommitFinalizers(Map<Long, Pair<Instant, Runnable>> callbacks)
// Start the cleanup thread lazily for pipelines that don't use finalization callbacks
// and some tests.
cleanUpThreadStarted = true;
finalizationExecutor.execute(this::cleanupThreadBody, 0);
finalizationExecutor.forceExecute(this::cleanupThreadBody, 0);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we move the forceExecute to after releasing the lock lock.unlock?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Similar to how it is done in finalizeCommits below.

}
cleanUpQueue.add(info);
@SuppressWarnings("ReferenceEquality")
Expand Down
Loading