summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/amazon')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/indexed/ManagedIndex.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/indexed/ManagedIndex.java b/src/main/java/com/amazon/carbonado/repo/indexed/ManagedIndex.java
index ebdea0b..1a4ba95 100644
--- a/src/main/java/com/amazon/carbonado/repo/indexed/ManagedIndex.java
+++ b/src/main/java/com/amazon/carbonado/repo/indexed/ManagedIndex.java
@@ -375,7 +375,7 @@ class ManagedIndex<S extends Storable> implements IndexEntryAccessor<S> {
if (totalInserted % POPULATE_BATCH_SIZE == 0) {
txn.commit();
txn.exit();
- txn = repo.enterTransaction();
+ txn = repo.enterTopTransaction(IsolationLevel.READ_COMMITTED);
}
}
txn.commit();