提交 00dbc15d authored 作者: andrei's avatar andrei

put back proper determination of the leftover transactionn's status

上级 b01cdcaf
...@@ -159,7 +159,11 @@ public class TransactionStore { ...@@ -159,7 +159,11 @@ public class TransactionStore {
int status; int status;
String name; String name;
if (data == null) { if (data == null) {
status = Transaction.STATUS_OPEN; if (undoLog.containsKey(getOperationId(transactionId, 0))) {
status = Transaction.STATUS_OPEN;
} else {
status = Transaction.STATUS_COMMITTING;
}
name = null; name = null;
} else { } else {
status = (Integer) data[0]; status = (Integer) data[0];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论