mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #2807] [Roadmap] data consistency sync between etcd leader/follower in Master HA mode? #730
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#730
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gitgaoqian on GitHub (Jul 9, 2026).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/2807
Originally assigned to: @Icedcoco on GitHub.
Hi Mooncake team,
I'm currently exploring the Master HA capabilities and have a specific question regarding the roadmap for etcd integration.
Could you share if there are plans to implement strict data consistency synchronization between the etcd leader and followers within the Master HA architecture? If so, is there an estimated timeline or a target release version for this feature?
Understanding this would be very helpful for evaluating the reliability of the HA setup in production environments.
By the way, When is the next release (0.3.12) planned?
Thanks!
@github-actions[bot] commented on GitHub (Jul 9, 2026):
Thanks for opening this issue, @gitgaoqian!
33947447A maintainer will triage this when possible. To help us respond faster, please include:
Useful links: Documentation · Contributing guide
@Icedcoco commented on GitHub (Jul 9, 2026):
Hi @gitgaoqian , Thanks for asking.
For Master HA consistency, the short answer is: the current main branch already has several HA building blocks, but I would not call it fully strict-consistent HA yet.
Current main already has:
The main in-progress PR is #2331. It adapts the earlier HA hot-standby / OpLog work to the current main branch and adds several missing pieces: tenant-aware OpLog metadata, segment lifecycle replication, standby snapshot export, promoted-primary restore, and more HA mutation-path tests.
There is also an active RFC, #2756, for the next consistency step. That RFC proposes replacing the current per-entry OpLog write path with an ordered batch-record writer and a durable prefix. The target is to make the etcd-backed HA path stricter around:
We expect the development work for RFC #2756 to be completed within about two weeks.
So the direction is clear: etcd-backed Master HA is the first path we are trying to make strict enough for production-style failover. Redis/K8s currently should be understood more as leadership/discovery backends, not as equivalent full OpLog-following HA backends.
For release timing, 0.3.12 does not have a confirmed release date yet. I need to check with the release maintainers before giving a concrete date.
@sun-baoshan-sunshine commented on GitHub (Aug 10, 2026):
@Icedcoco
Hello, we would like to use Redis as the backend for Mooncake HA. However, during actual usage, we found that the latest version of Redis does not support HA functionality for the master node. We would like to ask whether etcd is more recommended for master HA in this case? It seems that Redis's support in this area still has many aspects that need to be improved.
@Icedcoco commented on GitHub (Aug 10, 2026):
Hi @sun-baoshan-sunshine . Thank you for reaching out! Currently, etcd is the only supported backend for reading and writing high-availability oplog information. We haven't had the capacity to build out full support for other backends yet, as integrating Redis requires implementing features like KV operations, transactions, and more.
We plan to gradually expand support for additional backends, including Redis, in future updates. In the meantime, we recommend using etcd for master HA. Hope this helps, and feel free to let us know if you have any other questions!