You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by kt...@apache.org on 2018/01/31 19:00:57 UTC
[fluo] branch master updated: some small fixes for #1001 (#1012)
This is an automated email from the ASF dual-hosted git repository.
kturner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo.git
The following commit(s) were added to refs/heads/master by this push:
new df46a3f some small fixes for #1001 (#1012)
df46a3f is described below
commit df46a3f37072a0425157617d4f36a30e52e0f4c0
Author: Keith Turner <ke...@deenlo.com>
AuthorDate: Wed Jan 31 14:00:55 2018 -0500
some small fixes for #1001 (#1012)
---
.../core/src/main/java/org/apache/fluo/core/impl/TransactionImpl.java | 2 ++
1 file changed, 2 insertions(+)
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 ef13bc8..f4ebacf 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 class TransactionImpl extends AbstractTransactionBase implements AsyncTra
}
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");
}
--
To stop receiving notification emails like this one, please contact
kturner@apache.org.