提交 6d79ef93 authored 作者: Andrei Tokar's avatar Andrei Tokar

Issue_1427

上级 b0105180
...@@ -449,7 +449,10 @@ public class TransactionStore { ...@@ -449,7 +449,10 @@ public class TransactionStore {
if (map != null) { // might be null if map was removed later if (map != null) { // might be null if map was removed later
Object key = op[1]; Object key = op[1];
commitDecisionMaker.setUndoKey(undoKey); commitDecisionMaker.setUndoKey(undoKey);
map.operate(key, null, commitDecisionMaker); // although second parameter (value) is not really used
// by CommitDecisionMaker, MVRTreeMap has weird traversal logic based on it,
// and any non-null value will do, to signify update, not removal
map.operate(key, VersionedValue.DUMMY, commitDecisionMaker);
} }
} }
undoLog.clear(); undoLog.clear();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论