-
Notifications
You must be signed in to change notification settings - Fork 414
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
OAK-11443 - Use a single DefaultIndexWriterFactory in the LuceneIndexEditorProvider #2041
base: trunk
Are you sure you want to change the base?
Conversation
@@ -165,7 +166,7 @@ static Iterable<? extends PropertyState> getProperties( | |||
x -> !keys.contains(x == null ? null : x.getName()); | |||
return concat( | |||
filter(base.getProperties(), predicate::test), | |||
filter(properties.values(), x -> x != null)); | |||
filter(properties.values(), Objects::nonNull)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change seems unrelated...
if (defaultIndexWriterFactory == null) { | ||
LOG.info("Initializing DefaultIndexWriterFactory"); | ||
cowDirectoryCleanupCallback = new COWDirectoryCleanupCallback(); | ||
BlobDeletionCallback blobDeletionCallback = activeDeletedBlobCollector.getBlobDeletionCallback(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it is possible to add a test case to show the problem of the current code
On hold until OAK-11438 is merged. The main motivation for this PR was to make it easy for OAK-11438 for close the thread pool |
No description provided.