elasticsearch/elasticsearch — Issue #1411: Exit on metadata file corruption
Author: merrellb
Created: 2011-10-19 22:54:18+00:00
State: open

Currently when ES encounters an error initializing from the metadata _state it continues on, overwriting whatever data was previously stored. This eliminates any chance of fixing the problem and instantly destroys the data stored on the node.

A safer default behavior would be to exit in the event of an error. This allows the user either correct the problem or delete the corrupted data explicitly.