Reindex api errors out while reindexing when documents in the index exceed 2147483519

One of my shard in the index is in red state as the documents in that shard exceeded 2147483519 as below :

failed shard on node [GK1he55KSJmqQXx-qDrPFQ]: shard failure, reason [no-op origin[PRIMARY] seq#[350554097] failed at document level], failure IllegalArgumentException[number of documents in the index cannot exceed 2147483519]

according to prev posts the only solution is to reinde to new index with more shards or ILM in place
while running re index on new index with 4 shards i get following error

{
    "error": {
        "root_cause": [],
        "type": "search_phase_execution_exception",
        "reason": "Partial shards failure (1 shards unavailable)",
        "phase": "query",
        "grouped": true,
        "failed_shards": []
    },
    "status": 503
}

dont understand how to proceed with re indexing

Can you share the output from GET _cat/shards?v?

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