elasticsearch


ElasticSearch index recovery


I am new to ElasticSearch and I am confused about the meaning of index recovery.
What are the operations index recovery performs?
Does it mean recovering the data inside the index or allocating unassigned shards?
Index recovery means loading shards from disk and making it usable for your query operations. This can happen if you start a node, make new replicas, add or remove new node to your cluster or if some node has crashed and restarting. There can be multiple operations involved in the process. If a shard is coming up, it will ask all other shards what data they have and try to do an integrity check. If a new node has been added and there is no shared disk, then there will be data movements. If a new primary shard is to be selected, then primary should be the one holding most of the data at that time, so nodes need to to be in sync. To handle all these cases, there must be dozens of other tasks being done in recovery process.
According to ElasticSearch Reference:
A recovery event occurs anytime an index shard moves to a different node in the cluster. This can happen during a snapshot recovery, a change in replication level, node failure, or on node startup. This last type is called a local store recovery and is the normal way for shards to be loaded from disk when a node starts up.

Related Links

Cluster Level Logging with Elasticsearch and Kibana does not work in kubernetes
ElasticSearch Couchbase Replication Issue
How to query for inner_hits against grandparents in multi-generational setup
Request timedout during delete/create on elasticsearch while snapshot is being taken
how to use two parallel Aggregation for elasticsearch nest
How do I enable remote access/request in Elasticsearch 2.0?
elasticsearch faking index per user - how are routing values inferred when updating?
elasticsearch: Proper config in 3 node cluster for each node to have full copy of index?
Multiple Nested Aggregations in Elasticsearch
Reconnection in Elasticsearch Cluster
Elasticsearch - Has_Parent or Has_Child query returning empty results
Elasticsearch search body from URL search
Fields not getting sorted in alphabetical order in elasticsearch
Sorting strings in elastic search
Missing data when using unique count and creating an aggregation in Kibana
elasticsearch filter array data with aggs

Categories

HOME
android-studio
lambda
android-fragments
mousemove
ant
celery
bing-search
supercollider
timber
mutation-testing
buffer
asp.net-core-1.0
c#-7.0
maven-plugin
susy-sass
spring-shell
dashdb
conda
ava
ratio
password-generator
epplus
universal
listjs
spring-rabbitmq
char-pointer
forms-authentication
django-crispy-forms
django-smart-selects
hidden-markov-models
extbase
iscroll
assemblies
task-parallel-library
oauth2
klee
access-denied
wysihtml5
spongycastle
tinyioc
photoswipe
nonlinear-functions
exc-bad-access
mura
gnome-terminal
popen
1010
emacs25
hmmlearn
bpms
java-2d
visual-studio-monaco
pyaudio
tsqlt
right-to-left
qpixmap
mathnet
django-redis
polymerfire
pack
decidable
ruby-on-rails-4.1
apache-commons-digester
supersocket.net
sequence-sql
python-c-extension
famo.us
encryption-symmetric
nesper
berkeley-db-xml
code-complexity
application-blocks
smips
strcmp
frontbase
application-server
notifyjs
google-code-prettify
indesign-server
insertion
eager-loading
email-verification
jquery-dialog
daap
sfinae
exponent
django-apps
nosetests
3des
urchin
bucket
database-cloning
objectinstantiation

Resources

Encrypt Message