You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The remote replication framework in MicroCeph (RBD + CephFS) is built around a per-request finite state machine (ceph/replication.go) with workload-specific handlers. A review of the framework surfaced several quality issues that fall into three coherent buckets: FSM model cleanup, REST surface redesign, and concurrency safety. Each bucket is tracked as a child issue below.
Goals
Make the FSM model honest about what is per-resource lifecycle and what is a site-wide action.
Make the REST surface identify operations by (method, path) alone, with no body-encoded discriminator and no overloaded URLs.
Make concurrent mutating requests on the same resource safe across the cluster.
Background
The remote replication framework in MicroCeph (RBD + CephFS) is built around a per-request finite state machine (
ceph/replication.go) with workload-specific handlers. A review of the framework surfaced several quality issues that fall into three coherent buckets: FSM model cleanup, REST surface redesign, and concurrency safety. Each bucket is tracked as a child issue below.Goals
(method, path)alone, with no body-encoded discriminator and no overloaded URLs.Children
/actions/namespace for site-wide ops, drop body-encoded request type. Depends on Refactor replication FSM: per-workload tables, idempotent transitions, integrated invalid state #727.Landing order
Out of scope
rbd/cephCLI commands.