cluster: use typed IDs, introduce Region.ID, and pre-compute primary region #49

Merged
karasz merged 7 commits from pr-amery-regions into main 6 months ago

7 Commits

Author SHA1 Message Date
Alejandro Mery 982e16581c cluster: pre-compute Zone's primary region 6 months ago
Alejandro Mery cede95e119 cluster: run initRegions() before scanZoneIDs() 6 months ago
Alejandro Mery 14e1c447c9 cluster: assign valid rings.RegionID to each primary region 6 months ago
Alejandro Mery 99dece1e43 cluster: use rings.ZoneID and rings.NodeID types 6 months ago
Alejandro Mery 6d89e0ea3c rings: fix NodeZeroMax/NodeMax to not accept .255 6 months ago
Alejandro Mery ff8f2c6ea1 rings: add String() to RegionID, ZoneID, NodeID 6 months ago
Alejandro Mery 83921c1e13 build-sys: use revive 1.3.7 instead of master 6 months ago