ifesdjeen commented on code in PR #4387:
URL: https://github.com/apache/cassandra/pull/4387#discussion_r2367736413
##########
src/java/org/apache/cassandra/service/accord/AccordDataStore.java:
##########
@@ -95,4 +88,23 @@ public void ensureDurable(CommandStore commandStore, Ranges
ranges, RedundantBef
prev = cfs;
}
}
+
+ @Override
+ public FetchResult fetch(Node node, SafeCommandStore safeStore, Ranges
ranges, SyncPoint syncPoint, FetchRanges callback, FetchKind kind)
+ {
+ switch (kind)
+ {
+ default: throw new UnhandledEnum(kind);
+ case Image:
+ {
+ AccordFetchCoordinator coordinator = new
AccordFetchCoordinator(node, ranges, syncPoint, callback,
safeStore.commandStore());
+ coordinator.start();
+ return coordinator.result();
+ }
+ case Sync:
+ {
+ throw new UnsupportedOperationException();
Review Comment:
Just for my understanding: this patch is then just to make Accord compile?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]