indicate in LeaveRequest whether to expect a migration

this information is used to decide whether to await an incoming
migration in `respondLeave`
This commit is contained in:
Trolli Schmittlauch 2020-08-17 12:34:47 +02:00
parent b8cedada48
commit 6982a0b245
5 changed files with 20 additions and 14 deletions

View file

@ -89,8 +89,8 @@ StabiliseResponsePayload ::= SEQUENCE {
LeaveRequestPayload ::= SEQUENCE {
successors SEQUENCE OF NodeState,
predecessors SEQUENCE OF NodeState
-- ToDo: transfer of own data to newly responsible node
predecessors SEQUENCE OF NodeState,
doMigration BOOLEAN
}
LeaveResponsePayload ::= NULL -- just a confirmation