keith-turner closed pull request #1012: some small fixes for #1001
URL: https://github.com/apache/fluo/pull/1012
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/modules/core/src/main/java/org/apache/fluo/core/impl/TransactionImpl.java
b/modules/core/src/main/java/org/apache/fluo/core/impl/TransactionImpl.java
index ef13bc87..f4ebacfa 100644
--- a/modules/core/src/main/java/org/apache/fluo/core/impl/TransactionImpl.java
+++ b/modules/core/src/main/java/org/apache/fluo/core/impl/TransactionImpl.java
@@ -1140,11 +1140,13 @@ public boolean processResults(CommitData cd,
Iterator<Result> results) throws Ex
}
class CommittedTestStep extends CommitStep {
+ @Override
CompletableFuture<Boolean> getMainOp(CommitData cd) {
cd.commitObserver.committed();
return CompletableFuture.completedFuture(true);
}
+ @Override
CompletableFuture<Void> getFailureOp(CommitData cd) {
throw new IllegalStateException("Failure not expected");
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services