only specify upper key bound when querying load

As a querying node does not always know the lower bound of the queried
segment – determined by the predecessor – let the currently responsible
node provide that bound instead.

affects #71
This commit is contained in:
Trolli Schmittlauch 2020-09-19 14:46:41 +02:00
parent 30bf0529ed
commit 5e745cd035
5 changed files with 25 additions and 26 deletions

View file

@ -222,12 +222,12 @@ spec = do
]
}
qLoadReqPayload = LoadRequestPayload
{ loadLowerBound = fromInteger 12
, loadUpperBound = fromInteger 1025
{ loadSegmentUpperBound = 1025
}
qLoadResPayload = LoadResponsePayload
{ loadSum = 3.141
, loadRemainingTarget = -1.337
, loadSegmentLowerBound = 12
}
requestTemplate = Request {
requestID = 2342