Skip to content

Commit

Permalink
2.4.1-merge-master Fixed checkpoint lock acquisition
Browse files Browse the repository at this point in the history
  • Loading branch information
agoncharuk committed Dec 20, 2017
1 parent f03ce99 commit 003f033
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1589,6 +1589,8 @@ private boolean lockMultiple(IgniteInternalTx tx, Iterable<IgniteTxEntry> entrie
GridCacheContext cacheCtx = txEntry1.context();

while (true) {
cctx.database().checkpointReadLock();

try {
GridCacheEntryEx entry1 = txEntry1.cached();

Expand Down Expand Up @@ -1641,6 +1643,9 @@ private boolean lockMultiple(IgniteInternalTx tx, Iterable<IgniteTxEntry> entrie

throw new IgniteCheckedException("Entry lock has been cancelled for transaction: " + tx);
}
finally {
cctx.database().checkpointReadUnlock();
}
}
}

Expand Down

0 comments on commit 003f033

Please sign in to comment.