elasticsearch-snapshot

How does Elasticsearch incremental snapshots deal with the deleted docs?

别等时光非礼了梦想. 提交于 2021-01-28 14:30:33
问题 I regularly take a snapshot of my ES cluster in a s3 bucket and so i wanted to know that if i am deleting my old docs from the cluster and regularly adding new docs then after taking a snapshot how does ES deal with this scenario wheather the docs get deleted from my previous snapshots as well or how does ES keep a backup of my docs. Please explain? 回答1: When ES takes snapshots, ES doesn't take snapshots of docs but rather it takes snapshots of segments . Of course, the segments contain the