Skip to main content

DatacenterServingStatus

Whether a datacenter currently has a ck-api instance able to serve clients. Three-valued on purpose: "nothing is serving there" and "the liveness signal could not be read" look identical through a boolean and call for opposite reactions.

enum DatacenterServingStatus {
SERVING
NOT_SERVING
UNKNOWN
}

Values

DatacenterServingStatus.SERVING

At least one instance in that datacenter has heartbeated within the freshness window and is not draining.

DatacenterServingStatus.NOT_SERVING

The signal was readable and reported no instance able to take a client there. An app placed here would be created and stored correctly, and its players would be told the app is temporarily offline until an instance returns.

DatacenterServingStatus.UNKNOWN

The liveness signal itself could not be read or trusted. Must NOT be presented as an outage: a fleet-wide heartbeat failure once made every datacenter look dead while all of them were fine, and healthy players were told their app was offline.

Member Of

PlaceableDatacenter object