dlmarion commented on code in PR #4767:
URL: https://github.com/apache/accumulo/pull/4767#discussion_r1695448414


##########
server/manager/src/main/java/org/apache/accumulo/manager/compaction/queue/CompactionJobPriorityQueue.java:
##########
@@ -201,8 +202,12 @@ public synchronized int add(TabletMetadata tabletMetadata, 
Collection<Compaction
     return jobsAdded;
   }
 
-  public long getMaxSize() {
-    return maxSize;
+  public int getMaxSize() {
+    return maxSize.get();
+  }
+
+  public void setMaxSize(int maxSize) {

Review Comment:
   Added synchronized modifier in 18d2243



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to