Skip to content

Commit

Permalink
HBASE-22415 HBOSS: changed log verbosity to debug on some lock colisi…
Browse files Browse the repository at this point in the history
…on cases

Signed-off-by: Biju Nair <gs.biju@gmail.com>
Signed-off-by: Sean Mackrory <mackrorysd@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
  • Loading branch information
wchevreuil authored and busbey committed May 31, 2019
1 parent 49a81cf commit c49a079
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -175,7 +175,7 @@ protected boolean writeLockAbove(Path p) throws IOException {
while (!p.isRoot()) {
p = p.getParent();
if (isLocked(get(p).writeLock())) {
LOG.warn("Parent write lock currently held: {}", p);
LOG.debug("Parent write lock currently held: {}", p);
return true;
}
}
Expand Down Expand Up @@ -246,7 +246,7 @@ private boolean writeLockBelow(Path p, int level, int maxLevel) throws IOExcepti
continue;
}
if (writeLockBelow(new Path(p, child), level+1, maxLevel)) {
LOG.warn("Parent write lock currently held: {}", p);
LOG.debug("Parent write lock currently held: {}", p);
return true;
}
}
Expand All @@ -271,7 +271,7 @@ private boolean readLockBelow(Path p, int level, int maxLevel) throws IOExceptio
continue;
}
if (readLockBelow(new Path(p, child), level+1, maxLevel)) {
LOG.warn("Child read lock currently held: {}", p);
LOG.debug("Child read lock currently held: {}", p);
return true;
}
}
Expand Down

0 comments on commit c49a079

Please sign in to comment.