muse-dev[bot] commented on a change in pull request #2256:
URL: https://github.com/apache/lucene-solr/pull/2256#discussion_r565714215



##########
File path: lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
##########
@@ -933,6 +936,31 @@ protected final void ensureOpen() throws 
AlreadyClosedException {
    *     low-level IO error
    */
   public IndexWriter(Directory d, IndexWriterConfig conf) throws IOException {
+    this(d, conf, null);

Review comment:
       *THREAD_SAFETY_VIOLATION:*  Unprotected write. Non-private method 
`IndexWriter(...)` indirectly writes to field `this.mergeScheduler.infoStream` 
outside of synchronization.
    Reporting because another access to the same memory occurs on a background 
thread, although this access may not.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to