commit | 1595af4d7e0824845fdaa351caa364a2b8419d6c | [log] [tgz] |
---|---|---|
author | kisskys <kisskys@eaa15691-b419-025a-1212-ee371bd00084> | Tue Apr 02 21:24:49 2013 +0000 |
committer | kisskys <kisskys@eaa15691-b419-025a-1212-ee371bd00084> | Tue Apr 02 21:24:49 2013 +0000 |
tree | c5329d3d4eaf75961f039dced680ae1f9f68e5ce | |
parent | f67c37984e626066568fc2a2e78065b4ed0e1e18 [diff] |
corrected a typo git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization@1460 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 f20b8be..f7c101d 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
@@ -46,7 +46,7 @@ public static final boolean IS_DEBUG_MODE = false;//true public static final boolean ALLOW_UPGRADE_FROM_ENTITY_TO_DATASET = true; - public static final int UPGRAGE_TRHESHOLD_ENTITY_TO_DATASET = 100000; + public static final int UPGRADE_TRHESHOLD_ENTITY_TO_DATASET = 100000; private static final int DO_UPGRADE = 0; private static final int UPGRADED = 1; private static final int DONOT_UPGRADE = 2; @@ -210,9 +210,9 @@ } int count = jobInfo.getDatasetLockCount(datasetId); - if (count == UPGRAGE_TRHESHOLD_ENTITY_TO_DATASET) { + if (count == UPGRADE_TRHESHOLD_ENTITY_TO_DATASET) { return DO_UPGRADE; - } else if (count > UPGRAGE_TRHESHOLD_ENTITY_TO_DATASET){ + } else if (count > UPGRADE_TRHESHOLD_ENTITY_TO_DATASET){ return UPGRADED; } else { return DONOT_UPGRADE;