HBASE-3963 Schedule all log-spliiting at startup all at once -- reverse test for wals with no server (was wrong)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1135384 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-06-14 05:37:11 +00:00
parent 4c5264d4b3
commit 34ddfc126d
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ public class MasterFileSystem {
List<ServerName> serverNames = new ArrayList<ServerName>();
for (FileStatus status : logFolders) {
ServerName serverName = new ServerName(status.getPath().getName());
if (onlineServers.contains(serverName)) {
if (!onlineServers.contains(serverName)) {
LOG.info("Log folder " + status.getPath() + " doesn't belong " +
"to a known region server, splitting");
serverNames.add(serverName);