-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Do
-
Affects Version/s: 6.0
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Elasticsearch
-
Tags:
-
Sprint:nxBD 8.4.3
If ES is overloaded the bulk indexing command can be rejected and an error is logged, for instance:
ERROR [Nuxeo-Work-elasticSearchIndexing-3] [org.nuxeo.elasticsearch.core.ElasticSearchIndexingImpl] failure in bulk execution: [0]: index [nuxeo], type [doc], id [########-####-####-############], message [RemoteTransportException[[????][inet[/#.###.###.###:9300]][bulk/shard]]; nested: EsRejectedExceptionException[rejected execution (queue capacity 50) on org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1@1746faca]; ]
The bulk indexing command should be rescheduled.
PS: Note that the fix for the above rejected log is to tune ES by increasing the ES_HEAP_SIZE to prevent GC overhead then increase the threadpool.bulk.queue_size.
- depends on
-
NXP-18666 Increase the default number of documents per Elasticsearch bulk request
- Resolved