Elasticsearch data issue -


today faced weird problem elasticsearch , don't know how fix issue. scenrario this

  • elasticsearch cluster 2 nodes : total docs 1000

  • now 1 of server goes down , write , reads handled second server. there 10000 docs in es2.

  • due system problem whole elasticsearch network down , both es1 , es2 down. somehow manually go , make es1 , taking write requests.

  • es2 comes , discovers es1 master.

  • es2 syncs master , data written es2 node lost.

is there way recover lost data. expected behaviour in distributed system?

please let me know if not clear.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -