DomGarguilo commented on code in PR #4242:
URL: https://github.com/apache/accumulo/pull/4242#discussion_r1489673863
##########
core/src/main/java/org/apache/accumulo/core/fate/accumulo/AccumuloStore.java:
##########
@@ -268,7 +269,9 @@ public void pop() {
verifyReserved(true);
Optional<Integer> top = findTop();
- top.ifPresent(t -> newMutator(fateId).deleteRepo(t).mutate());
+ top.ifPresent(t -> newMutator(fateId)
+ .requireStatus(TStatus.FAILED_IN_PROGRESS, TStatus.SUCCESSFUL,
TStatus.FAILED)
Review Comment:
It would cause test failures but we can just set the status of the txStore
in the test before this operation.
--
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]