You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by kt...@apache.org on 2021/03/27 01:28:05 UTC

[accumulo] branch 1451-external-compactions-feature updated: fix state

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

kturner pushed a commit to branch 1451-external-compactions-feature
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/1451-external-compactions-feature by this push:
     new 5856743  fix state
5856743 is described below

commit 5856743154f7248f602e36390cdb90561ec74651
Author: Keith Turner <kt...@apache.org>
AuthorDate: Fri Mar 26 21:27:18 2021 -0400

    fix state
---
 .../apache/accumulo/tserver/compactions/ExternalCompactionExecutor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/compactions/ExternalCompactionExecutor.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/compactions/ExternalCompactionExecutor.java
index a1d9c6a..b837131 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/compactions/ExternalCompactionExecutor.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/compactions/ExternalCompactionExecutor.java
@@ -52,7 +52,7 @@ public class ExternalCompactionExecutor implements CompactionExecutor {
     public Status getStatus() {
       var s = status.get();
       if (s == Status.RUNNING && ecid != null && !compactable.isActive(ecid)) {
-        s = Status.CANCELED;
+        s = Status.COMPLETE;
       }
 
       return s;