FrancoisZhang commented on code in PR #587:
URL: https://github.com/apache/jackrabbit-oak/pull/587#discussion_r901839993
##########
oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/writer/DefaultIndexWriter.java:
##########
@@ -160,7 +160,7 @@ public boolean close(long timestamp) throws IOException {
//~----------------------------------------< internal >
- IndexWriter getWriter() throws IOException {
+ synchronized IndexWriter getWriter() throws IOException {
Review Comment:
thanks Thomas, I have refined this per suggestion
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]