keith-turner commented on code in PR #3563:
URL: https://github.com/apache/accumulo/pull/3563#discussion_r1251216073
##########
core/src/main/java/org/apache/accumulo/core/metadata/schema/Ample.java:
##########
@@ -593,4 +594,46 @@ default void addBulkLoadInProgressFlag(String path, long
fateTxid) {
default void removeBulkLoadInProgressFlag(String path) {
throw new UnsupportedOperationException();
}
+
+ interface Refreshes {
+ static class RefreshEntry {
+ private final ExternalCompactionId ecid;
+
+ private final KeyExtent extent;
+ private final TServerInstance tserver;
+
+ public RefreshEntry(ExternalCompactionId ecid, KeyExtent extent,
TServerInstance tserver) {
+ this.ecid = Objects.requireNonNull(ecid);
+ this.extent = Objects.requireNonNull(extent);
+ this.tserver = Objects.requireNonNull(tserver);
+ }
+
+ public ExternalCompactionId getEcid() {
+ return ecid;
+ }
+
+ public KeyExtent getExtent() {
+ return extent;
+ }
+
+ public TServerInstance getTserver() {
+ return tserver;
+ }
+ }
+
+ void add(Collection<RefreshEntry> entries);
+
+ void delete(Collection<RefreshEntry> entries);
+
+ Stream<RefreshEntry> list();
Review Comment:
Fixed in dedaa88
--
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]