mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-20 13:30:46 +02:00
Make the first V2 core owner explicit in sw-block by freezing Phase 14 docs, mode/readiness/publication semantics, and bounded command emission rules. This turns accepted Phase 13 constraints into executable core behavior without overclaiming live runtime cutover. Made-with: Cursor
18 lines
411 B
Go
18 lines
411 B
Go
package replication
|
|
|
|
// PublicationProjection is the bounded outward projection derived from one
|
|
// VolumeState. It is intentionally detached from runtime internals.
|
|
type PublicationProjection struct {
|
|
VolumeID string
|
|
Epoch uint64
|
|
Role VolumeRole
|
|
|
|
Mode ModeView
|
|
Publication PublicationView
|
|
Readiness ReadinessView
|
|
Boundary BoundaryView
|
|
|
|
ReplicaIDs []string
|
|
PublishHealthy bool
|
|
}
|