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

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


The following commit(s) were added to refs/heads/main by this push:
     new e4127a5014 adds code lost in merge from 2.1
e4127a5014 is described below

commit e4127a5014fb46448aad477d7f76e7eef9b6b587
Author: Keith Turner <ktur...@apache.org>
AuthorDate: Thu Sep 14 19:39:11 2023 -0400

    adds code lost in merge from 2.1
---
 .../main/java/org/apache/accumulo/tserver/tablet/DatafileManager.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/DatafileManager.java
 
b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/DatafileManager.java
index 2cba023e8f..7d6aa780b8 100644
--- 
a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/DatafileManager.java
+++ 
b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/DatafileManager.java
@@ -357,6 +357,8 @@ class DatafileManager {
         // before the following metadata write is made
         newFile = 
tablet.updateTabletDataFile(commitSession.getMaxCommittedTime(), newDatafile, 
dfv,
             unusedWalLogs, flushId);
+
+        tablet.finishClearingUnusedLogs();
       } finally {
         tablet.getLogLock().unlock();
       }

Reply via email to