Reindex stopping on multiples of 5000

Hi,

I have been using _reindex to copy documents from a remote ES 1.7.4 cluster to 5.3.1 ES Cloud. Oddly the reindexing stops on multiples of 5000 documents.

1st attempt: Stopped after 290,000 documents.
2nd attempt: Stopped after 80,000 documents.
3rd attempt: Stopped after 5,000 documents.

No error is returned.

This is the request with senstive info redacted,

POST _reindex
{
  "source": {
    "remote": {
      "host": "http://xxxxx:9200",
      "username": "xxx",
      "password": "xxx"
    },
    "index": "xxx",
        "query": {
            "bool": {
              "must": [
                {
                  "range": {
                    "myDate": {
                      "gt": "2016-01-26T13:30:55.285Z",
                      "lt": "2016-02-01T00:00:00.000Z"
                    }
                  }
                }
              ]
            }
          }
  },
  "dest": {
    "index": "xxx"
  }
}

The initiating cluster is in Elasticsearch Cloud.

Any guidance?

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