- Notifications
You must be signed in to change notification settings - Fork5
Open
Description
Let's say we want to migrateFoo fromPi0 toPi1, using Dispatcher.
The current protocol is then:
- Dispatcher sends pubsub message to
Pi0(migrate Foo) Pi0sends pubsub message toPi1(run my snapshot of Foo)Foosuccessfully migrated toPi1Pi1sends an ACK back toPi0Pi0sends ACK back to Dispatcher (your request was successful)
IfPi0 dies after step 3 but before step 5, Dispatcher will never receive an ACK, the migrate request will timeout and the user will think the migration failed even though it succeeded.
Maybe instead of listening for an ACK fromPi0, should Dispatcher listen for ACK fromPi1?
Metadata
Metadata
Assignees
Labels
No labels