code: private Map<String, String> readExistingLocks(HLock lock) {
      // logger.debug("Started reading all columns");
      SliceQuery<String, String, String> sliceQuery = HFactory
          .createSliceQuery(keyspace, StringSerializer.get(), StringSerializer.get(), StringSerializer.get())
          .setColumnFamily(lockManagerConfigurator.getLockManagerCF()).setKey(lock.getPath());
  
      //we only care about the first 2 locks, anything else is simply queued.  Select 10 just to be safe if the clients aren't ordered properly
      sliceQuery.setRange(null, null, false, maxSelectSize);
  
      QueryResult<ColumnSlice<String, String>> queryResult = sliceQuery.execute();
  
      // logger.debug("Finished reading all columns");
      return getResults(queryResult);
    }
docs: Reads all existing locks for this lock path
  
  @param lockPath
  a lock path
  @return a list of locks waiting on this lockpath