docs: protected boolean shouldCommitDuringPrepare(PrepareCommand command, TxInvocationContext ctx) {
        return totalOrder ?
               command.isOnePhaseCommit() && (!ctx.isOriginLocal() || !command.hasModifications()) :
               command.isOnePhaseCommit();
     }