private void addLockonUPSiteWithVar(int varIndex, Transaction transaction, boolean isWrite) {
		for(int i: sitesHasVar(varIndex).keySet()) {
			Site site = sites.get(i);
			if(!site.isFailed()) {
				site.addLock(transaction, varIndex, isWrite);
			}
		}		
	}