HBASE-4294 HLogSplitter sleeps with 1-second granularity

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1163397 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2011-08-30 21:24:54 +00:00
parent 187db8e624
commit b767480a19
2 changed files with 5 additions and 1 deletions

View File

@ -511,6 +511,7 @@ Release 0.90.5 - Unreleased
HBASE-4124 ZK restarted while a region is being assigned, new active HM
re-assigns it but the RS warns 'already online on this server'
(Gaojinchao)
HBASE-4294 HLogSplitter sleeps with 1-second granularity (todd)
IMPROVEMENT
HBASE-4205 Enhance HTable javadoc (Eric Charles)

View File

@ -995,7 +995,10 @@ public class HLogSplitter {
}
void finish() {
shouldStop = true;
synchronized (dataAvailable) {
shouldStop = true;
dataAvailable.notifyAll();
}
}
}