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:
parent
4c5264d4b3
commit
34ddfc126d
|
@ -202,7 +202,7 @@ public class MasterFileSystem {
|
||||||
List<ServerName> serverNames = new ArrayList<ServerName>();
|
List<ServerName> serverNames = new ArrayList<ServerName>();
|
||||||
for (FileStatus status : logFolders) {
|
for (FileStatus status : logFolders) {
|
||||||
ServerName serverName = new ServerName(status.getPath().getName());
|
ServerName serverName = new ServerName(status.getPath().getName());
|
||||||
if (onlineServers.contains(serverName)) {
|
if (!onlineServers.contains(serverName)) {
|
||||||
LOG.info("Log folder " + status.getPath() + " doesn't belong " +
|
LOG.info("Log folder " + status.getPath() + " doesn't belong " +
|
||||||
"to a known region server, splitting");
|
"to a known region server, splitting");
|
||||||
serverNames.add(serverName);
|
serverNames.add(serverName);
|
||||||
|
|
Loading…
Reference in New Issue