Merge pull request #14867 from mikemccand/include_root_cause

Include root-cause exception when we fail to change shard's index buffer
This commit is contained in:
Michael McCandless 2015-11-19 15:40:10 -05:00
commit 83db1c2930

View File

@ -246,7 +246,7 @@ public class IndexingMemoryController extends AbstractLifecycleComponent<Indexin
} catch (FlushNotAllowedEngineException e) {
// ignore
} catch (Exception e) {
logger.warn("failed to set shard {} index buffer to [{}]", shardId, shardIndexingBufferSize);
logger.warn("failed to set shard {} index buffer to [{}]", e, shardId, shardIndexingBufferSize);
}
}
}