[Elasticsearch] 디스크 기반 shard allocation
디스크 용량 관련 shard allocation에 문제가 있어 관련 설정을 docs에서 찾아본 김에 포스팅 ((https://www.elastic.co/guide/en/elasticsearch/reference/current/disk-allocator.html) 엘라스틱서치는 새로운 샤드를 어디에 할당할지 결정하기전에 노드의 사용 가능한 디스크 공간을 고려함 elasticsearch.yml 파일을 통해 수정하고 재시작하거나 cluster-update-setting API를 통해 live 상태의 클러스터도 변경할 수 있음 cluster.routing.allocation.disk.threshold_enable 디폴트로 true. 디스크 할당자(disk allocation decider) diasble하려면 ..
2019. 9. 2. 18:32