Understanding allocation_id

(Nikolaos Samlidis) #1


I'm new to elastic search and I would like to know if there is any relationship between (allocation_id)
GET /_shard_stores?status=green ... ... "allocation_id": "**40ymWcrHSWSARPNdO8mLfA**"

and the directories I find in data path (/var/lib/elasticsearch/nodes/0/*****)?

Is there any reason why I should know where index'es (shard master/replicas) are stored on node's filesystem?


(Mark Walkom) #2

Nope. All interactions should happen via APIs :slight_smile:

(Jason Tedor) #3

No, there is no relationship between allocation IDs and the paths on disk. Instead, these are the index UUIDs, which are fixed for the lifetime of an index.

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.