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


##########
core/src/main/java/org/apache/accumulo/core/spi/compaction/CompactionPlanner.java:
##########
@@ -94,6 +95,12 @@ public interface PlanningParameters {
      */
     TableId getTableId();
 
+    /**
+     * @return the tablet for which a compaction is being planned
+     * @since 2.1.4
+     */
+    TabletId getTabletId();

Review Comment:
   Is there an issue with adding this method in a bugfix release? This would 
cause a build and runtime issue for any user that has their own 
CompactionPlanner implementation written against 2.1.4 and deploys it to a 
2.1.3 instance, right? I'm wondering if this should be a `default` method that 
returns `null` (not throws a UnsupportedOperationException).



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