Skip to content

Commit

Permalink
Fox of NPE during concurrent deletion of files in Lucene.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii0lomakin committed Dec 5, 2023
1 parent ac52f88 commit 6a98334
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ private synchronized void deletePendingFiles() {
}
}

private void privateDeleteFile(String file) {
private synchronized void privateDeleteFile(String file) {
var cache = SharedOpenFilesCache.getInstance();
var path = pendingDeletes.get(file);
try {
Expand Down

0 comments on commit 6a98334

Please sign in to comment.