cluster: pre-compute Zone's primary region

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2024-06-03 00:14:53 +00:00
parent cede95e119
commit 982e16581c
3 changed files with 35 additions and 12 deletions
+1
View File
@@ -19,6 +19,7 @@ type ZoneIterator interface {
// affinity.
type Zone struct {
zones *Cluster
region *Region
logger `json:"-" yaml:"-"`
ID rings.ZoneID