Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

41.4 KB
Raw Blame

Elasticsearch Durability & SLA Issues — Data Points

Research collected April 2026. Sources: Elastic Discuss forums, GitHub issues, Jepsen testing, industry blogs, and community reports.


Table of Data Points

# Quote/Summary Source Date Severity
1 "645 out of 1961 writes acknowledged then lost. Only 1103 writes made it to the final read." — Jepsen nontransitive partition test on Elasticsearch Jepsen: Elasticsearch 2014 (foundational) Critical
2 "Of two thousand attempts, six hundred eighty eight documents were acknowledged by Elasticsearch then thrown away." — Jepsen insert/create test Jepsen: Elasticsearch 2014 (foundational) Critical
3 "A single network partition isolating a primary node caused the loss of over 90% of acknowledged writes. Of 619 documents inserted, 538 returned successful, but only 54 — 10% — of those documents appeared in the final read." Jepsen: Elasticsearch 2014 (foundational) Critical
4 "Elasticsearch 1.5.0 still loses data in every scenario tested... Even partitions which cut the network into two completely connected isolated components would induce the loss of dozens of documents." Jepsen: Elasticsearch 1.5.0 2015 (foundational) Critical
5 "Approximately 10% of acknowledged inserts did not appear in the final set following cluster node crashes and restarts. 1,313 out of 5,650 inserted documents (23% loss fraction) lost." GitHub #10933 — Node crashes can cause data loss Feb 2015 Critical
6 Kyle Kingsbury challenged the disconnect between Elasticsearch's claim of "putting data safety first" and the 5-second fsync interval — competitors like PostgreSQL and MySQL flush transaction logs before acknowledging writes, whereas ES acknowledges before ensuring persistence. GitHub #10933 Feb 2015 High
7 "translog from source [.../translog-23408.tlog] is corrupted, translog truncated" — HDD failure on one node in a 3-node Elasticsearch 7.10.1 cluster caused 4 indices to fail recovery. EOFException: "read past EOF. pos [7419] length: [4] end: [7419]" Elastic Discuss: Translog is corrupted Sept 2021 Critical
8 "marking and sending shard failed due to [failed recovery]" — 4 indices went into failed state after HDD failure in a 3-node cluster running ES 7.10.1 Elastic Discuss: Translog is corrupted Sept 2021 High
9 "failed to recover from translog" with TranslogCorruptedException after one node went down in an ES 8.12.0 cluster — 3 indexes remained yellow with unassigned replicas, unable to allocate replicas "no matter how many times" the reroute API was called Elastic Discuss: Index stuck in yellow due to translog corruption April 2024 High
10 David Turner (Elasticsearch maintainer) acknowledged a bug: "translog corruption indicates that your storage is buggy or otherwise not safe to use" and flagged bug #106961 where corrupted replicas cannot auto-repair even with healthy primaries available Elastic Discuss: Index stuck in yellow April 2024 High
11 "TranslogCorruptedException: Translog corruption detected" — corrupted translogs "can lead to shard allocation issues, reduced search performance, and potential data loss if not addressed promptly" Pulse.support: TranslogCorruptedException Current High
12 "My ES single node server was forcibly shutdown, and it hasn't recovered from that." — forcible shutdown caused translog corruption on logstash index in ES 6.3.1. User had no snapshot, lost indeterminate amount of data. Elastic Discuss: ES failed to recover from translog corruption Nov 2018 High
13 "your system is not properly honouring fsync() calls, which you might want to investigate" — expert response suggesting storage or OS-level issue underlying translog corruption on forced shutdown Elastic Discuss: ES failed to recover from translog corruption Nov 2018 Medium
14 "+1 happened on windows too. Anyway to mitigate this?" — multiple OS platforms affected by translog corruption when process killed. Also reported on Mac OS X and Linux. GitHub #9699 — Elasticsearch translog corruption if process is killed Feb 2015 Medium
15 "Had to hard reset my Macbook and now getting translog corruption issues" — with CPU pegged at 100% on two cores during recovery from a 3.3 GB index GitHub #9699 Feb 2015 Medium
16 Translog corruption reported after "no more space available" on local disk (ES 1.4.0). Widespread enough that a fix was backported to the 1.4.x branch. GitHub #9699 Feb–Mar 2015 Medium
17 "ignoring recovery of a corrupt translog entry" — article explicitly warns: "be aware that this may result in data loss" when deleting corrupted translog files Opster: Corrupt translog entry Current High
18 "ES can no longer guarantee that when it returns 'OK' to the client, that the document was actually persisted." — when async translog durability is enabled Elastic Discuss: Async translog durability 2017 High
19 "it does increase the chance of losing documents due to transient errors, power outages, disk hiccups, etc." — confirmed risk of async translog in production Elastic Discuss: Async translog durability 2017 High
20 "you could consider enabling async only if you're ok with losing the last interval of data on power loss" — expert framing: async durability trades data safety for marginal throughput Elastic Discuss: Async translog durability 2017 Medium
21 "If you decide to enable async translog behavior, you are guaranteed to lose sync_interval's worth of data if a crash happens." — default sync_interval is 5 seconds Pulse.support: translog durability setting Current High
22 User asks: "I'm wondering if I really lose data of at most index.translog.sync_interval when a node with async durability crashes AND there's at least one replica" — expressing genuine confusion about the interaction between durability and replication OpenSearch Forum: translog.durability vs replicas 2021 Medium
23 "A data loss will only occur (assuming there is exactly 1 replica) when two nodes fail within index.translog.sync_interval." — user mental model requires understanding two independent failure modes simultaneously OpenSearch Forum: translog.durability vs replicas 2021 Medium
24 Expert notes: prior to ES 6.0, a critical edge case existed where "there is an operation in the Lucene index on a shard copy that is not in the Lucene index on the newly promoted primary" — causing silent inconsistency Elastic Discuss: translog durability interaction with replicas 2018 High
25 "Writes succeed independently, and potentially out of order. If one fails from a logical group, you're left with half an operation applied." — Elasticsearch has no multi-document atomicity ParadeDB: Elasticsearch Was Never a Database Sept 2025 High
26 "A failure can leave half-applied operations, and recovery won't roll them back the way a database would." — fundamental reliability gap for teams using ES as a system of record ParadeDB: Elasticsearch Was Never a Database Sept 2025 High
27 "A SEARCH only looks at Lucene segments, which are refreshed asynchronously. That means a recently acknowledged write may not show up until the next refresh." — durability and read visibility are decoupled ParadeDB: Elasticsearch Was Never a Database Sept 2025 Medium
28 "Indexing or updating a single document is atomic (with no option to group writes), but multi-document operations like the bulk API aren't transactional." — if operation 5 fails in a bulk request, ops 1–4 are already committed and cannot be rolled back ParadeDB: ACID Test 2024/2025 High
29 "Consistency is enforced only at the field level. A numeric field won't accept text, but Elasticsearch won't prevent you from inserting an order pointing to a non-existent customer." — no referential integrity ParadeDB: ACID Test 2024/2025 Medium
30 "Isolation is absent. Elasticsearch has no concept of multi-statement transactions, so traditional isolation levels don't exist." ParadeDB: ACID Test 2024/2025 High
31 "Elasticsearch was built as a distributed search engine first, not as a transactional system of record." — durability limitations are intentional design trade-offs ParadeDB: ACID Test 2024/2025 Medium
32 "Elasticsearch is not [ACID compliant] which means it is inherently riskier to use it like a database" Bonsai.io: Why ES should not be your primary data store Current High
33 A startup built their entire sales pipeline solely on Elasticsearch. When two of three nodes' disks filled up, a shard rebalancing operation created cascading failures that blocked cluster access for hours during peak growth, causing significant lost revenue. Bonsai.io: Why ES should not be your primary data store Current Critical
34 "it requires making engineering choices focused on speed rather than perfectly reliable results" and "Inconsistent and partial results are much more of a possibility with Elasticsearch than with a database" Bonsai.io: Why ES should not be your primary data store Current High
35 "Elasticsearch is brilliant as an index, but brittle as a database." — community consensus from Hacker News discussion on ES durability Hacker News: ES durability discussion Dec 2019 High
36 jillesvangurp (Hacker News): "it is not a database" and "It is not intended to be used as a database." Even though v7 addressed clustering bugs. Hacker News: ES durability discussion Dec 2019 Medium
37 colechristensen (Hacker News): "the durability concerns have become a very much diminished issue [since 2.x→7.x]" but still "requires knowledgeable personnel and regular backups for critical data, unlike simpler SQL engines" Hacker News: ES durability discussion Dec 2019 Medium
38 "Any cluster with 2 master-eligible nodes is guaranteed to have a split-brain at some point." — architectural certainty from BigData Boutique BigData Boutique: Split brain Current High
39 "If two nodes simultaneously update the same document [during split-brain], one of the updates may be lost or overwritten when the network partition is resolved." BigData Boutique: Split brain Current High
40 "In case you weren't lucky enough to act fast [during split brain], most likely this is a lost cause." — recovery from split-brain data divergence treated as largely unrecoverable BigData Boutique: Split brain Current Critical
41 "one of the nodes turns yellow and is missing data, which causes serious issues for the clients" — 2-node cluster with periodic ping timeouts causing data to be missing on one node, requiring restart and reindex every ~2 weeks Elastic Discuss: ES dropping data after split-brain 2013 High
42 Paul Smith: "With only 2 nodes, you have no way to defend against a split brain" — fundamental HA limitation requiring minimum 3 nodes Elastic Discuss: ES dropping data after split-brain 2013 High
43 "Elasticsearch has relied upon local disk persistence for data safety and handling stale or isolated nodes." — Elastic's own admission about the older architecture's limitations, used to justify the stateless design Elastic Labs: Data safety in stateless Elasticsearch 2024 Medium
44 Two problems identified in Elastic's stateless architecture blog: (1) file overwrites in object storage when multiple nodes try writing to the same location, (2) stale nodes attempting to index and persist data after being replaced — "potentially acknowledging writes that never reach the cluster" Elastic Labs: Data safety in stateless Elasticsearch 2024 High
45 Issue #101180 (open bug): When a node hosting a primary shard experiences a read-only filesystem, replica shards are incorrectly marked as stale. David Turner: "I think it was incorrect to mark the replicas as stale in this situation, since this write was not acked." GitHub #101180 — Tragic failure of primary marks replicas stale Oct 2023 High
46 Multiple replicas for indices like abc__events-2023.10.18[0] were failed simultaneously via "IndexShardClosedException: CurrentState[CLOSED] Primary closed," turning shard status to red until recovery procedures restored availability GitHub #101180 Oct 2023 High
47 "I have a pretty sizable Elasticsearch cluster (currently storing 1.2 PB) that has had some data loss" — 800 unassigned primary shards needing allocate_stale_primary due to human error (PEBCAK) Elastic Discuss: Mass allocate_stale_primary 2018 High
48 "It's like 800 shards. Is that still okay?" — user accepting permanent data loss across 800 shards of a 1.2 PB cluster, approximately 2% of data by count Elastic Discuss: Mass allocate_stale_primary 2018 High
49 The accept_data_loss=true flag is required for allocate_stale_primary: "If a node which has the good copy of the data rejoins the cluster later on, that data will be deleted or overwritten with the data of the stale copy that was forcefully allocated." Elastic API docs: Reroute Current High
50 "In the odd event that all nodes holding copies of a particular shard are all permanently dead, the only recourse is to use the reroute commands to allocate an empty/stale primary shard and accept the fact that data has been lost." — documented data loss path Elastic API docs: Reroute Current Critical
51 "cannot allocate because all found copies of the shard are either stale or corrupt" — user running ES 7.13.2 had both primary and replica unassigned after concurrent merge operations; had NO snapshots; data loss was inevitable Elastic Discuss: Unassigned primary replica shard 2021 Critical
52 "checksum failed (hardware problem?)" — corruption at the Lucene index level. Recovery path required elasticsearch-shard CLI tool with: "The elasticsearch-shard command is already a last resort for cases like yours, and there is no guarantee that it will work" Elastic Discuss: Unassigned primary replica shard 2021 Critical
53 "You will lose the corrupted data when you run elasticsearch-shard" — confirmed by expert leandrojmp Elastic Discuss: Unassigned primary replica shard 2021 High
54 "CorruptIndexException: checksum failed (hardware problem?): expected=ef33e57f actual=12a3e5e6" — during segment merge in ES 7.17.5, shard became unavailable. Primary shard unresponsive with "primary shard is not active Timeout: [1m]" Elastic Discuss: CorruptIndexException in ES 7.17.5 2023 High
55 "Corruptions can remain undetected for many months" before being discovered during merges, shard movements, or snapshots — the checksum mismatch doesn't indicate when corruption occurred Corruption detection blog by David Turner Dec 2020 High
56 "I deleted an index by mistake... It was more than 150G data... and it is empty now! ...I don't have any snapshot or backup to restore it!!!" — 150GB of data accumulated over 6 months Elastic Discuss: Restore deleted index with no backup 2017 Critical
57 "If the data is gone from the file system and you have no backup or snapshot, there is unfortunately no way to restore it." — expert Christian Dahlqvist confirming permanent irrecoverable loss Elastic Discuss: Restore deleted index with no backup 2017 Critical
58 "I know we messed up big time by accidentally deleting all the indices from the cluster..." — user deleted all indices including the .security index, breaking authentication Elastic Discuss: Accidentally deleted all indices 2018 Critical
59 "I have Elasticsearch cluster (7.6.1) that had 3 nodes. 2 of the nodes were accidentally dropped... not being able to recover from the remaining node by making it a new master is disappointing" — quorum lost, cluster fully unavailable Elastic Discuss: Broken 3-node cluster with 1 node left 2021 Critical
60 Steve_Mushero: "you lost > 50% of your masters so it can't run an election, so the cluster can't recover" — no snapshot = complete loss Elastic Discuss: Broken 3-node cluster with 1 node left 2021 Critical
61 DavidTurner: "Yep, snapshots are the answer here, or else build a fresh cluster and index the data from its original source again" — no recovery path without snapshots or original source Elastic Discuss: Broken 3-node cluster with 1 node left 2021 High
62 "master not discovered or elected yet, an election requires a node with id [F-Tn-Q6vQuKE0Fgi5qtUMg]" — user had only 2 master-eligible nodes; deleting one caused total cluster unavailability. Recovery required unsafe elasticsearch-node bootstrap tool. Elastic Discuss: master not discovered exception 2023 Critical
63 When master election fails: "many of its features don't work correctly... You must fix the master node's instability before addressing these other issues. It isn't possible to solve any other issues while there is no elected master node." Elastic Docs: Troubleshoot discovery Current High
64 "snapshots fail everyday" — ES 8.7 production cluster on Azure Kubernetes with 8 nodes; daily snapshot failures to Azure blob storage with 18 out of 740 total shards failing. Root cause: "egregiously slow storage." Data protection gap for 4TB-per-node observability cluster. Elastic Discuss: Elasticsearch snapshots fail everyday June 2023 High
65 "Unable to write blob indices/cQV-28f_Q4G_xbuxagrf9g/0/__pr8s4d-PR2Cf6o_odhWGrA" — AbortedSnapshotException on Azure blob storage, storage operation took 38017ms causing node ejection Elastic Discuss: Elasticsearch snapshots fail everyday June 2023 High
66 Silent failure scenario: "Failed to create snapshot for snapshot lifecycle policy" — backup protection becomes compromised while the system logs the failure but continues scheduling. "Organizations may believe backups exist when they don't." Opster: Failed SLM snapshot Current Critical
67 "Disaster recovery objectives (RPO/RTO) cannot be met" and "Compliance requirements dependent on regular snapshots may be violated" when SLM snapshots silently fail Opster: Failed SLM snapshot Current High
68 "Right now, SLM treats PARTIAL and FAILED snapshots the same, and both are kept around forever." — GitHub issue documenting lack of distinction between partial and full failures GitHub #46988 — SLM retention of failed snapshots 2019 Medium
69 "The snapshot was started around 17:15 and only saw significant network usage about 3 hours later." — 3-hour delay before snapshot restore begins; 13.2GB dataset with 470 shards Elastic Discuss: Snapshot restore is very slow to get started 2020 High
70 1,270 unassigned shards visible during initial snapshot restore; only 5 active primary shards and 10 active shards visible; capped at indices.recovery.max_bytes_per_sec=40Mb default value Elastic Discuss: Snapshot restore is very slow to get started 2020 High
71 One cold node hardware failure caused ~20TB of missing replica shards to begin recovering. "49.9GB shard recovery lasted for more than 10 hours." Total recovery duration: approximately 4 days at 60 MiB/s average Elastic Discuss: ES 7.16 shard recovery slow 2022 High
72 "No matter how I changed the settings, the recovery didn't speed up." — user discovering 4-day recovery time for 20TB of replica data was network-bandwidth-bounded, not configuration-bounded Elastic Discuss: ES 7.16 shard recovery slow 2022 High
73 Cluster with 4,000 indices and 20,000 shards across 7 nodes: "a few indices which are greater than 100G get stuck in the recovery for hours" with some taking "up to 12hrs" while most recover in 5 minutes Elastic Discuss: Why does restart perform recovery taking 6–12hrs 2018 High
74 Shard reallocation in ES 6.2.4 (3-node AWS EC2 cluster, 219.7 GB) took 5 days still ongoing with cluster too busy to continue indexing during recovery. Cluster had 48,459 shards — reduced to 530 post-incident. Elastic Discuss: Shard re-allocation taking a very long time 2019 High
75 "Once it did come back, the cluster starting reassigning shards to that node, however, 5 days later it is still going" — cluster was too stressed to maintain indexing during recovery Elastic Discuss: Shard re-allocation taking a very long time 2019 High
76 GitHub issue #8456 title: "ElasticSearch needs faster, smarter recovery from downtime" — tracking long-standing community request for improved recovery speed GitHub #8456 2014 (ongoing) Medium
77 "In event of a hardware failure or an operating system crash or a JVM crash or a shard failure, any data written since the previous translog commit will be lost." — Elastic's own documentation acknowledging the data loss window Elastic Docs: Translog settings Current High
78 "flood stage disk watermark [98%] exceeded on [nodeid]...all indices on this node will be marked read-only" — disk saturation silently marks all indices read-only, stopping all writes Elastic Discuss: Flood stage disk watermark exceeded 2023 High
79 Ecommerce search cluster entered RED status when a node's disk hit 100% utilization during index creation. "If it is in Red, No read or write can be performed on that indices." Recovery paused at 94% due to throttling settings. Medium: Troubleshooting ES cluster in RED status 2023 High
80 "While a cluster is red, automatic snapshots will not take place." — a cluster health issue simultaneously blocks data access AND prevents the creation of new backups Elastic Docs: Red or yellow cluster status Current High
81 "when at least one primary shard is unassigned, the cluster is in a red state, which is critical — the cluster is missing data, and searches hitting that shard will fail" Netdata: ES yellow cluster split-brain Current Critical
82 ES 1 node running ELK on RHEL8.9: "which is not reliable as of now if the VM instance goes down" — attempting 2-node setup but expert confirms: "A 2 node cluster is not resilient to failures, you need at least 3 nodes" Elastic Discuss: HA of ELK server April 2024 High
83 "A resilient cluster needs three master-eligible nodes so that if one of them fails then the remaining two still form a majority and can hold a successful election." — Elastic's own minimum requirement means single-AZ 2-node configs are unsupported for HA Elastic Docs: Design for resilience Current Medium
84 "Elasticsearch can't make atomicity guarantees beyond a single document... Concurrent operations can interleave without guarantees about ordering or serializability." — fundamental ACID gap Elastic Discuss: Elastic Search and consistency Current/ongoing High
85 "File System Backups Don't Work: You cannot back up an Elasticsearch cluster by making copies of the data directories... it may fail with reports of corruption or missing files, or it may appear to have succeeded having silently lost some of your data." — official warning Elastic Docs: Snapshot and restore Current Critical
86 "If something other than Elasticsearch modifies the contents of the repository then future snapshot or restore operations may fail... or may appear to succeed having silently lost some of your data." — silent data loss on repository corruption Elastic Docs: Snapshot and restore Current High
87 "If one or more primary shards aren't available, the snapshot attempt fails." — taking a snapshot during a degraded cluster state is impossible, compounding the disaster Elastic Docs: Snapshot and restore Current High
88 "Index.translog.durability vs. replicas" question shows widespread user confusion: users believe replicas substitute for translog durability when they are orthogonal protections addressing different failure modes OpenSearch Forum: translog.durability vs replicas 2021 Medium
89 Default recovery bandwidth: "the total inbound and outbound recovery traffic on each hot and warm data node is limited to 40 Mbps." At 40 Mbps, recovering 10TB of data takes minimum 57 hours at full speed — a multi-day RTO for large clusters Elastic Docs: Index recovery settings Current High
90 "Restoring from snapshots can be 63x faster than re-ingesting data, taking just 16 minutes for a restore compared to 17 hours (1,020 minutes) to ingest with eight Filebeat nodes." — but restore still measured in minutes-to-hours, not seconds BigData Boutique: Index recovery prioritization 2025 Medium
91 "How Elasticsearch was never a database" article (Sept 2025) notes: schema migrations "require moving the entire system of record into a new structure, under load, with no safety net other than a restore." — schema changes create data availability risk ParadeDB: Elasticsearch Was Never a Database Sept 2025 Medium
92 Elasticsearch can "safely tolerate the loss of a node or maybe two depending on cluster configuration, but there are conditions where a cluster can be online and operational but still fail to serve requests." Bonsai.io: Why ES should not be your primary data store Current High
93 "changes to a field mapping are not retroactive" and full reindexing from source data is typically required — may necessitate maintenance windows. When ES is the only store, there is no fallback source. Bonsai.io: Why ES should not be your primary data store Current Medium
94 "Elasticsearch will happily allow concurrent primary nodes when this number is less than n/2+1" — enabling multiple masters to accept writes simultaneously during partitions Jepsen: Elasticsearch 2014 (foundational) Critical
95 "every single one of these writes could have been preserved safely" [but were lost] — Jepsen showed ES discards data that had no inherent conflicts, purely due to architectural consistency gaps Jepsen: Elasticsearch 2014 (foundational) Critical
96 "Search queries can return inconsistent results where the primary shard has a document but the replica does not." — documented issue across multiple ES versions Elastic Discuss: Primary vs replica inconsistency in ES5.6 2020 High
97 "Replicas can roll back to past states triggering inconsistency, with documents missing in replicas while present in primaries, correlating with failed indexing operations." — replica out-of-sync issue GitHub #27911 — Shard primary and replica docs inconsistency 2017 High
98 A cybersecurity company's large ES cluster managing real-time vulnerability scanning halted completely — a single document with an exceptionally long URL field took 7.7+ seconds to index (expected: ms), causing cascading rejections and complete indexing downtime Opster: Elasticsearch indexing downtime post-mortem 2023 High
99 10 nodes, replication factor 3: 4 unassigned shards after full cluster restart. Gateway recovery quorum prevented shard initialization. User had to change gateway.local.initial_shards to work around the issue — root cause of missing shards never resolved Elastic Discuss: Data lost after full cluster restart 2014 High
100 "AWS Amazon OpenSearch Service: For Multi-AZ with Standby Domain, AWS commits to at least 99.99% uptime; for Multi-AZ without Standby Domain, at least 99.9% uptime." — 0.1% downtime difference between HA configurations = ~8.7 hours/year AWS OpenSearch SLA Current Medium

Summary Statistics

  • Total data points collected: 100
  • Critical severity: 15 entries
  • High severity: 64 entries
  • Medium severity: 21 entries
  • Date range: 2013–April 2026 (with foundational Jepsen tests from 2014–2015 still widely cited)
  • Recurring themes:
    1. Translog corruption on abrupt shutdown / hardware failure (entries 7–21)
    2. No multi-document atomicity / ACID gaps (entries 25–34)
    3. Split-brain and quorum loss causing total unavailability (entries 38–42, 59–63)
    4. Slow shard recovery as a practical RTO blocker (entries 69–76, 89–90)
    5. Silent backup failure creating hidden RPO gaps (entries 64–68, 85–87)
    6. Irrecoverable data loss without snapshots (entries 50–58, 60–61)
    7. Elasticsearch explicitly not designed as a system of record (entries 25, 31, 32, 35–37)

Sources