Allocation Failed

Hello Team,

One of my index is showing below error. I have created new shard where new data is going now but how to assign old index back to node.

"unassigned_info" : {
"at" : "2023-09-01T18:06:49.256Z",
"failed_allocation_attempts" : 1,
"details" : "failed shard on node [OZyZPGCJS6SV9tj1JM9ZDw]: shard failure, reason [no-op origin[PRIMARY] seq#[2147483524] failed at document level], failure IllegalArgumentException[number of documents in the index cannot exceed 2147483519]",
"last_allocation_status" : "no_valid_shard_copy"

What version are you using?


I suspect you have hit the bug described in this thread as you are running a very old version that has been EOL a long time. As mentioned in the thread you probably need to restore that index from a snapshot to recover it. Once that is done you should look to upgrade.

Yes that's right, this bug was fixed almost 3 years ago.

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