You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/09/06 23:53:55 UTC

[lucene-solr] branch reference_impl updated: @765 Small shots in the dark.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/reference_impl by this push:
     new 4aecd60  @765 Small shots in the dark.
4aecd60 is described below

commit 4aecd606759a690ed71679504f1184e8f8cfa95a
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sun Sep 6 18:53:13 2020 -0500

    @765 Small shots in the dark.
---
 solr/core/src/java/org/apache/solr/update/UpdateLog.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/solr/core/src/java/org/apache/solr/update/UpdateLog.java b/solr/core/src/java/org/apache/solr/update/UpdateLog.java
index 710dd37..932c2c3 100644
--- a/solr/core/src/java/org/apache/solr/update/UpdateLog.java
+++ b/solr/core/src/java/org/apache/solr/update/UpdateLog.java
@@ -1406,9 +1406,8 @@ public class UpdateLog implements PluginInfoInitialized, SolrMetricProducer {
   }
 
   public void close(boolean committed, boolean deleteOnClose) {
-    this.isClosed = true;
-
     synchronized (this) {
+      this.isClosed = true;
 
       // Don't delete the old tlogs, we want to be able to replay from them and retrieve old versions