} catch(final LockException e) {
LOG.warn("Failed to acquire lock on " + collectionsDb.getFile().getName());
} catch(final IOException e) {
LOG.error(e.getMessage(), e);
} finally {
lock.release(Lock.READ_LOCK);
}
} else {
if(!collection.getURI().equalsInternal(uri)) {
LOG.error("The collection received from the cache is not the requested: " + uri +