Hey all,
I have a cluster with a couple of hundred indices, each one between tens of
megs to hundreds of megs and tens of thousands to hundreds of thousands of
documents. I was doing an upgrade from 18.2 to 18.4, and it took a solid
20+ minutes to load up, with messages like the following:
re-syncing mappings with cluster state for types
for each index, which would take between a few seconds up to a minute or
two. I also get missing shard exceptions like the following, on indices
which were closed before the shutdown:
[2011-11-21 11:41:19,510][DEBUG][action.admin.indices.status] [Paragon]
[index1][0], node[smWjnoWoQza9C-ql5hpGig], [P], s[INITIALIZING]: Failed to
execute
[org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@38b4a41]
org.elasticsearch.index.IndexShardMissingException: [index1][0] missing
at
org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)
at
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)
at
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
Are the exceptions something I need to worry about? Can somebody explain
what it's doing during this time? Lastly, what can I do to
eliminate/minimize this time?
Cheers for any help or explanation anybody can provide!
Matt