fix return value

This commit is contained in:
Simon Willnauer 2015-11-04 22:08:04 +01:00
parent a4a0390ff6
commit 0dac6bfa86
1 changed files with 2 additions and 1 deletions

View File

@ -398,8 +398,9 @@ public class IndexingMemoryController extends AbstractLifecycleComponent<Indexin
logger.debug("marking shard {} as inactive (inactive_time[{}]) indexing wise",
shardId,
shard.getInactiveTime());
return Boolean.TRUE;
}
return Boolean.TRUE;
return Boolean.FALSE;
} catch (EngineClosedException e) {
// ignore
ignoreReason = "EngineClosedException";