commit | 41e29f61fda823d1bbffadd1a4fabd46cf071be2 | [log] [tgz] |
---|---|---|
author | kisskys <kisskys@eaa15691-b419-025a-1212-ee371bd00084> | Sat Apr 06 00:47:01 2013 +0000 |
committer | kisskys <kisskys@eaa15691-b419-025a-1212-ee371bd00084> | Sat Apr 06 00:47:01 2013 +0000 |
tree | 2a30ea7e64b9f8a9c1b733a58bf95c85507c8fab | |
parent | fd69a6b5951226025fb54adacf471b32f7ccc416 [diff] |
synchronzing instantTryLock git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization@1540 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/locking/LockManager.java b/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/locking/LockManager.java index aeb54b5..277462e 100644 --- a/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/locking/LockManager.java +++ b/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/locking/LockManager.java
@@ -960,7 +960,7 @@ } @Override - public boolean instantTryLock(DatasetId datasetId, int entityHashValue, byte lockMode, TransactionContext txnContext) + public synchronized boolean instantTryLock(DatasetId datasetId, int entityHashValue, byte lockMode, TransactionContext txnContext) throws ACIDException { boolean isGranted = false; // try {