Resolve a Delayed Room Assignment
Resolve a Delayed Room Assignment
Resolve a Delayed Room Assignment
Step-throughGiven a delayed request to move a device between rooms, identify the authoritative room assignment, explain why the late write fails its version check, and describe how the out-of-date controller recovers.
The lamp stays physically in place throughout.
Hub
Room assignment authority
Local controller
May request a room move
Cloud controller
May request a room move
Audit · source / route / result
- Source · Hub
- Route · Local and cloud views
- Result · Shared original record
- Assignment evidence shown above.
Hub
Room assignment authority
Local controller
May request a room move
Cloud controller
May request a room move
Hallway request
Pending
Waiting for delivery
The request stays in the queue on its way to the hub.
Audit · source / route / result
- Source · Cloud controller
- Route · Cloud queue
- Result · Pending
- Hallway request based on original version.
Hub
Room assignment authority
Local controller
May request a room move
Cloud controller
May request a room move
Stale app view
Living Room · Original version
Original version · Match
Living Room · Updated version
The hub compares and commits as one indivisible operation. The hub acknowledges the change.
Audit · source / route / result
- Source · Local controller
- Route · Local path
- Result · Hub acknowledges change
- Original version matched, committed to updated version.
- Source · Cloud controller
- Route · Cloud queue
- Result · Pending
- Hallway request based on original version.
Hub
Room assignment authority
Local controller
May request a room move
Cloud controller
May request a room move
Stale app view
Conflict: assignment changed before this edit arrived
Hallway · Original version
Updated version · Mismatch
Rejected · Living Room retained
The request leaves the queue and the hub keeps its current record.
Audit · source / route / result
- Source · Cloud controller
- Route · Cloud path
- Result · Rejected
- Request based on original version · Hub held updated version. Conflict: assignment changed before this edit arrived.
Hub
Room assignment authority
Local controller
May request a room move
Cloud controller
May request a room move
Reloaded from hub. Review the current assignment before requesting another move.
Living Room · Updated version
Current assignment record
Living Room · Updated version
A later edit needs a fresh request based on the refreshed version.
Audit · source / route / result
- Source · Cloud controller
- Route · Cloud path
- Result · Rejected
- Request based on original version · Hub held updated version. Conflict: assignment changed before this edit arrived.
Both controllers start from the same room assignment. The hub keeps the definitive copy.
Technical boundaries. The scenario tracks one lamp whose physical location stays fixed while its room label changes in the app. It shows one queued cloud request and one local edit, with the hub owning the room record and comparing and committing a successful edit in one operation.