提交 548d128b authored 作者: Thomas Mueller's avatar Thomas Mueller

MVStore transactions: a thread could see a change of a different thread within a…

MVStore transactions: a thread could see a change of a different thread within a different map. Pull request #153.
上级 c0b25204
...@@ -128,7 +128,6 @@ public class TestTransactionStore extends TestBase { ...@@ -128,7 +128,6 @@ public class TestTransactionStore extends TestBase {
try { try {
map.put(k, r.nextInt()); map.put(k, r.nextInt());
} catch (IllegalStateException e) { } catch (IllegalStateException e) {
//System.out.println("a: " + e);
failCount.incrementAndGet(); failCount.incrementAndGet();
// ignore and retry // ignore and retry
} }
...@@ -149,7 +148,6 @@ public class TestTransactionStore extends TestBase { ...@@ -149,7 +148,6 @@ public class TestTransactionStore extends TestBase {
try { try {
map.put(k, r.nextInt()); map.put(k, r.nextInt());
} catch (IllegalStateException e) { } catch (IllegalStateException e) {
//System.out.println("b: " + e);
failCount.incrementAndGet(); failCount.incrementAndGet();
// ignore and retry // ignore and retry
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论