keith-turner commented on code in PR #4242:
URL: https://github.com/apache/accumulo/pull/4242#discussion_r1490106691
##########
core/src/main/java/org/apache/accumulo/core/fate/accumulo/AccumuloStore.java:
##########
@@ -259,7 +259,8 @@ public void push(Repo<T> repo) throws
StackOverflowException {
throw new StackOverflowException("Repo stack size too large");
}
- FateMutator<T> fateMutator = newMutator(fateId);
+ FateMutator<T> fateMutator =
+ newMutator(fateId).requireStatus(TStatus.IN_PROGRESS, TStatus.NEW);
Review Comment:
Ok , so looking at Fate.seedTransaction() it pushes while the status is NEW
and then later sets the status to SUBMITTED in the same method. So it makes
sense to allow NEW for push.
--
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]