Remote Reindex란?
Elasticsearch의 Reindex API를 사용하면 도큐먼트를 새로운 인덱스로 복사할 수 있다.
Remote Reindex를 사용하면, 도큐먼트를 원격 클러스터의 인덱스로 복사할 수 있다. 때문에 이 기능을 사용하면 Elasticsearch 버전업을 수월하게 할 수 있다.
Rolling Upgrade가 불가능한 버전 업을 해야하는 경우, 실시간으로 구 클러스터와 신규 클러스터의 인덱스를 동기화해야하는 경우에 유용하게 쓰일 수 있다.
POST _reindex { "source": { "remote": { "host": "http://oldhost:9200", "username": "user", "password": "pass" }, "index": "source", "query": { "match": { "test": "data" } } }, "dest": { "index": "dest" } }
참고
Reindex from a remote cluster | Elasticsearch Reference [7.9] | Elastic
The new cluster doesn’t have to start fully-scaled out. As you migrate indices and shift the load to the new cluster, you can add nodes to the new cluster and remove nodes from the old one.
www.elastic.co
blog.naver.com/PostView.nhn?blogId=hanajava&logNo=221626868554
ElasticSearch 에서 reindex 을 활용하는 방법
ElasticSearch 에서 reindex 을 활용하는 방법2018-07-07그럴 것 같지 않지만, ElasticSearch 에서는 r...
blog.naver.com
'소프트웨어-이야기 > 인프라' 카테고리의 다른 글
[쿠버네티스] uWsgi Graceful Shutdown (0) | 2020.11.30 |
---|---|
[uWsgi] harakiri 옵션 - 지나치게 오래걸리는 요청 제어하기 (0) | 2020.11.30 |
(Istio) Traffic Management - Network resilience (0) | 2020.03.30 |
ngrok - 외부에서 로컬 컴퓨터에 접속할 수 있게 만들기 (1) | 2020.03.15 |
[Varnish] Vary User-Agent HTTP Header가 캐시 퍼포먼스에 미치는 영향 (0) | 2020.03.08 |