Unsigned sharding

[2018-03-29T08:15:08,500][WARN ][o.e.c.a.s.ShardStateAction] [master-node-3] [100002555313-1510542891][14] received shard failed for shard id [[100002555313-1510542891][14]], allocation id [h1ICRYzCT5qmAmZYHPkhbg], primary term [1], message [failed to perform indices:data/write/bulk[s] on replica [100002555313-1510542891][14], node[rpMejoD5SeyNEbBgi7W8Fg], [R], s[STARTED], a[id=h1ICRYzCT5qmAmZYHPkhbg]], failure [RemoteTransportException[[data-node-9.3.172.202][9.3.172.202:9300][indices:data/write/bulk[s][r]]]; nested: IllegalStateException[active primary shard cannot be a replication target before relocation hand off [100002555313-1510542891][14], node[rpMejoD5SeyNEbBgi7W8Fg], [P], s[STARTED], a[id=h1ICRYzCT5qmAmZYHPkhbg], state is [STARTED]]; ]
org.elasticsearch.transport.RemoteTransportException: [data-node-9.3.172.202][9.3.172.202:9300][indices:data/write/bulk[s][r]]
Caused by: java.lang.IllegalStateException: active primary shard cannot be a replication target before relocation hand off [100002555313-1510542891][14], node[rpMejoD5SeyNEbBgi7W8Fg], [P], s[STARTED], a[id=h1ICRYzCT5qmAmZYHPkhbg], state is [STARTED]
at org.elasticsearch.index.shard.IndexShard.verifyReplicationTarget(IndexShard.java:1141) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.index.shard.IndexShard.acquireReplicaOperationLock(IndexShard.java:1666) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.action.support.replication.TransportReplicationAction$AsyncReplicaAction.doRun(TransportReplicationAction.java:566) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.action.support.replication.TransportReplicationAction$ReplicaOperationTransportHandler.messageReceived(TransportReplicationAction.java:451) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.action.support.replication.TransportReplicationAction$ReplicaOperationTransportHandler.messageReceived(TransportReplicationAction.java:441) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.transport.TcpTransport$RequestHandler.doRun(TcpTransport.java:1544) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:638) ~[elasticsearch-5.5.2.jar:5.5.2]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-5.5.2.jar:5.5.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_71]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_71]

at one time point, too many unassigned sharding appeared like above

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.