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

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


The following commit(s) were added to refs/heads/elasticity by this push:
     new 2a0537a6b7 removes extraneous code introduced in #4142
2a0537a6b7 is described below

commit 2a0537a6b76415620e1ce4d47fcbbef375f8a544
Author: Keith Turner <ktur...@apache.org>
AuthorDate: Wed Jan 10 13:29:53 2024 -0500

    removes extraneous code introduced in #4142
    
    In #4142 a refactoring was done and an unused variable was left over
    from that.  This commit removes the unused variable.
---
 .../apache/accumulo/core/util/compaction/CompactionJobPrioritizer.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/core/src/main/java/org/apache/accumulo/core/util/compaction/CompactionJobPrioritizer.java
 
b/core/src/main/java/org/apache/accumulo/core/util/compaction/CompactionJobPrioritizer.java
index 0232a6bcc7..9e81cce598 100644
--- 
a/core/src/main/java/org/apache/accumulo/core/util/compaction/CompactionJobPrioritizer.java
+++ 
b/core/src/main/java/org/apache/accumulo/core/util/compaction/CompactionJobPrioritizer.java
@@ -55,8 +55,6 @@ public class CompactionJobPrioritizer {
 
     int min;
     int max;
-    // This holds the two bits used to encode the priority of the table.
-    int tablePrefix;
 
     switch (Ample.DataLevel.of(tableId)) {
       case ROOT:
@@ -92,5 +90,4 @@ public class CompactionJobPrioritizer {
 
     return (short) Math.min(max, min + totalFiles + compactingFiles);
   }
-
 }

Reply via email to