Observing Versions During a Progressive Rollout

A rollout can serve requests from more than one software version during a transition. The application and data format may need to work across that overlap.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace two view versions
  2. Verify which version answered
  3. Compare observations across instances during a transition
  4. Keep mixed-version compatibility in view

Trace two view versions

An earlier version reads a record with fewer optional fields than the newer one. New writes should keep the required interpretation available to both until the transition is complete. Record versioning explains this compatibility.

Verify which version answered

A safe identifying marker or observable feature can let checks detect which version handled a request. See verifying service endpoints.[1]

Compare observations across instances during a transition

An update is first active on only one of four instances. Requests can see old or new behavior depending on routing. A version marker in controlled telemetry can identify which instance class produced an answer. See release boundary checks.

Stage 1: one instance at v2, three at v1
Observe version and result across authorized checks
Later stage: all eligible instances at v2
Verify expected behavior after convergence

Keep mixed-version compatibility in view

Shared storage may be read by both versions during rollout. Test old readers with newly written data if that overlap is supported. Avoid interpreting one successful sample as full activation.

References

  1. Google, Site Reliability Engineering ↩