HBASE-818 Deadlock running 'flushSomeRegions'

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685217 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-08-12 16:21:44 +00:00
parent a28a8219cb
commit 7a33adc974
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,7 @@ Release 0.3.0 - Unreleased
invalidating entries (Andrew Purtell via Stack)
HBASE-819 Remove DOS-style ^M carriage returns from all code where found
(Jonathan Gray via Jim Kellerman)
HBASE-818 Deadlock running 'flushSomeRegions' (Andrew Purtell via Stack)
IMPROVEMENTS
HBASE-801 When a table haven't disable, shell could response in a "user

View File

@ -1624,8 +1624,9 @@ public class HRegion implements HConstants {
return;
}
writestate.flushRequested = true;
this.flushListener.request(this);
}
// Make request outside of synchronize block; HBASE-818.
this.flushListener.request(this);
if (LOG.isDebugEnabled()) {
LOG.debug("Flush requested on " + this);
}