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

kturner pushed a commit to branch 1.10
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/1.10 by this push:
     new 8dd79a3b31 fixes NPE introduced in #3249
8dd79a3b31 is described below

commit 8dd79a3b313241fb643195d4d85ea3b05592b428
Author: Keith Turner <ktur...@apache.org>
AuthorDate: Fri Mar 24 20:50:42 2023 -0400

    fixes NPE introduced in #3249
---
 .../src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java 
b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
index 5352b7e91a..580616ee3f 100644
--- 
a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
+++ 
b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
@@ -1871,7 +1871,7 @@ public class Tablet implements TabletCommitter {
 
         newComputation = new SplitComputations(files, midpoint, lastRow);
       } catch (IOException e) {
-        lastSplitComputation = null;
+        lastSplitComputation.set(null);
         log.error("Failed to compute split information from files " + 
e.getMessage());
         return Optional.absent();
       } finally {

Reply via email to