HBASE-3843 splitLogWorker starts too early

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1098696 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-05-02 18:04:19 +00:00
parent e85e7ad354
commit 659da04632
2 changed files with 6 additions and 5 deletions

View File

@ -92,6 +92,7 @@ Release 0.91.0 - Unreleased
HBASE-3827 hbase-1502, removing heartbeats, broke master joining a running
cluster and was returning master hostname for rs to use
HBASE-3829 TestMasterFailover failures in jenkins
HBASE-3843 splitLogWorker starts too early (Prakash Khemani)
IMPROVEMENTS
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)

View File

@ -537,11 +537,6 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
this.catalogTracker = new CatalogTracker(this.zooKeeper, this.connection,
this, this.conf.getInt("hbase.regionserver.catalog.timeout", Integer.MAX_VALUE));
catalogTracker.start();
// Create the log splitting worker and start it
this.splitLogWorker = new SplitLogWorker(this.zooKeeper,
this.getConfiguration(), this.getServerName().toString());
splitLogWorker.start();
}
/**
@ -1274,6 +1269,11 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
// Start Server. This service is like leases in that it internally runs
// a thread.
this.rpcServer.start();
// Create the log splitting worker and start it
this.splitLogWorker = new SplitLogWorker(this.zooKeeper,
this.getConfiguration(), this.getServerName().toString());
splitLogWorker.start();
}
/**