Repository navigation
Conversation
Signed-off-by: Baylem <zelathis@gmail.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 51 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
CI Report - d8c508frun 46230631575 - attempt 1 0 failed - 25 passed - 8 skipped - 47m34s elapsed Test selection: partial - per-suite table Coverage
Changed
Slowest jobs
e2e buckets run
|
Signed-off-by: Baylem <zelathis@gmail.com>
If the agent stays offline through the Backup's ten-minute deletion retry, the finalizer can finish while the original game still has autosave disabled. On master at
f7303559, the GameServer skips that owner because a preserve-power backup has no stopped-backup record. Recovery then requires another lifecycle operation to arrive.This change wakes the GameServer on Backup deletion. It checks the missing Backup's UID, claims recovery against competing operations, revokes the original workers' authorization, and waits for them to drain. It retries save-on against the recorded game process or confirms that the process exited. While the result is uncertain, the GameServer keeps the workload fenced and reports
RecoveryIntervention. The bounded Backup finalizer and the user's current power intent are preserved.PR #1158 addresses verification of save-on while a Backup still exists. This PR handles recovery after that object disappears. It is based directly on master, and Git reports a clean merge with #1158 at
6849052b.Regression coverage exercises a real sequence of controller reconciliations with a simulated agent outage and clock, including finalizer expiry, restored connectivity, controller restart, worker drain, same-name Backup replacement, ambiguous process identity, and a competing successor. The Linux operator and controller test sources compiled locally. Tests run in CI.
Fixes #965