esally изменить трек-номер шардов - PullRequest
0 голосов
/ 28 мая 2020
"schedule": [
        {
          "operation": "delete-index"
        },
        {
          "operation": {
            "operation-type": "create-index",
            "settings": {
                 "number_of_shards": 5,
                 "number_of_replicas": 1
            }
          }
        },
        {
          "name": "check-cluster-health",
          "operation": {
            "operation-type": "cluster-health",
            "index": "geonames",
            "request-params": {
              "wait_for_status": "{{cluster_health | default('green')}}",
              "wait_for_no_relocating_shards": "true"
            }
          }
        },
        {
          "operation": "index-append",
          "warmup-time-period": 120,
          "clients": {{bulk_indexing_clients | default(8)}}
        }
]

Я пробовал это много раз, но он не работает и всегда создает индекс в шардах и репликах по умолчанию (1, 1), я хочу изменить его на (5, 1). Кто-нибудь может мне помочь?

...