keith-turner commented on code in PR #4816:
URL: https://github.com/apache/accumulo/pull/4816#discussion_r1731899809


##########
core/src/main/java/org/apache/accumulo/core/iterators/IteratorEnvironment.java:
##########
@@ -140,7 +140,8 @@ default SamplerConfiguration getSamplerConfiguration() {
   }
 
   /**
-   * True if compaction was user initiated.
+   * True if compaction was user initiated. Will throw IllegalStateException if
+   * {@link #getIteratorScope()} != {@link IteratorScope#majc}.

Review Comment:
   ```suggestion
      * @return True if compaction was user initiated, false otherwise.
      * @throws IllegalStateException if {@link #getIteratorScope()} != {@link 
IteratorScope#majc}
   ```



-- 
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