[Elasticsearch] es 7.6 index tombstone

Insert picture description here

1 Overview

Index tombstone. Record the deleted index and save it for a period of time. Index deletion is performed by the master node by issuing the cluster state, and each node processes the cluster state in an asynchronous process.

For example, index shards are distributed on 5 nodes. During index deletion, a certain node is "down" and no deletion logic is executed. When this node is restored, the deleted index stored in it will be regarded as orphaned Resources join the cluster,

The index is dead and resurrected. The function of the tombstone is to prevent this from happening

2. How to view

Command: GET /_cluster/state
execution result

"index-graveyard" : {
   
    
    
      "tombstones" : [
        {
   
    
    

Guess you like

Origin blog.csdn.net/qq_21383435/article/details/109558773