The Dock Reservation That Outlives Its Owner
Configuring a dock gateway to accept cached reservations after scheduling authority expires can turn routine failover into conflicting bay assignments. The replacement scheduler acquires ownership while the original scheduler still has a reversing instruction queued for delivery. Every component can report healthy while the bay receives incompatible instructions.
The fallback that passes review
Consider an illustrative deployment within V2Dock’s stated scope of freight scheduling, precision bay guidance and cross-dock pallet synchronization, with a gateway configured to permit commands whenever its reservation cache contains a matching trailer. Reviewers accept the fallback because it preserves operation during scheduler unavailability, but the cache proves only that authorization existed previously. With a reservation lease duration of 15 seconds as a test configuration, a paused scheduler can lose ownership and later resume with a command that still matches the cached reservation. Lease expiration changes coordination state, it does not recall an instruction already outside that state store, and the etcd lease guarantees explicitly distinguish expiration from immediate systemwide observability. The configuration mistake is allowing cached identity to substitute for current command authority, an error that ordinary restart tests miss because they discard the suspended execution state.
Make authority explicit
The deployment rule is simple: reject any configuration that lets a bay controller authorize movement solely from a cached reservation after ownership can transfer.
Run the suspended scheduler test today
In an isolated integration environment with simulated vehicle motion, use the deployed configuration, establish a bay reservation, and hold its outbound reversing instruction at a controllable transport boundary before delivery. Set the shell variable SCHEDULER_CONTAINER to the actual Docker container running the reservation owner, then execute `docker pause "$SCHEDULER_CONTAINER"` to suspend it without clearing its memory. Observe authoritative lease expiration and replacement ownership rather than assuming elapsed wall time proves takeover, then require the replacement scheduler to establish its new ownership generation at the bay controller. Execute `docker unpause "$SCHEDULER_CONTAINER"` and release the held instruction through the normal gateway path, preserving its original reservation identity and ownership generation. Inspect the controller’s decision record for the bay, trailer, command identity, supplied generation and accepted generation, and assert that the old instruction produced neither movement authorization nor a pallet release event. A rejection at the scheduler alone does not pass this test, because the configuration under examination governs what happens after an instruction has escaped the scheduler.
Keep useful work inside the surviving boundary
Repair the boundary by attaching a monotonically increasing ownership generation to each reservation and enforcing it at the controller that admits physical work, with generation validation and command acceptance serialized together. Ownership transfer must install the newer generation at that controller before activating the replacement reservation, while a controller that cannot establish current authority must withhold new movement authorization. Fence changes must also reconcile previously accepted work, since rejecting an old message cannot undo a reversing maneuver already in progress, and machinery functional safety standards govern the local protective behavior independently of scheduler availability. The surviving controller can retain occupancy sensing and execute its validated local stopping behavior, while unaffected bays continue under their own confirmed authority. Cross-dock pallet release must follow confirmed trailer position and handling readiness, and contactless bill-of-lading processing can queue durable records without being treated as evidence that physical transfer completed. This preserves useful work during scheduler failure, but it deliberately sacrifices new assignments at an isolated bay until command authority and physical occupancy agree, so recovery policy must budget for that hold instead of removing it with another cache fallback.