Closed Bug 1196597 Opened 9 years ago Closed 9 years ago

Verify Sync 1.1 Client EOL behavior for AP, NODE, REG, and JPAKE traffic.

Categories

(Cloud Services Graveyard :: Server: Sync, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bobm, Assigned: bobm)

References

Details

Attachments

(2 files)

Verify the client behavior when talking the following to AP, NODE, REG, and JPAKE sync endpoints when the response is: * 503 + backoff * EOLination * Nothing The goal is to determine if additional complexity is required for the EOLinator service in Bug 1194030. It might be required, for instance, to stand up an NODEinator that assigns the EOLinator as a node to all requesters.
NI: Karl can you help test here. Thanks
Flags: needinfo?(kthiessen)
Yes - the request in the etherpad for :bobm to book some time on my calendar was so that we could test it together. Bob, I'm out this Friday and next Friday, but otherwise my calendar is current. Please let me know when is convenient for you.
Flags: needinfo?(kthiessen) → needinfo?(bobm)
> * EOLination I don't think there's much value in getting anything other than the storage nodes to return an EOL-related response. The logic that checks for EOL messages lives in the handler for "weave:engine:sync:error" in the client, which IIUC is only triggered for errors from the storage node, not other services in the cluster. IMO we should try "503 + backoff" and "nothing" first, and only if neither of those produces acceptable behaviour should we try to dome something more clever.
Attached file sync.log
Sync log showing variety of 513, 200, and 404 responses.
Is this the desired behaviour?
Changing services.sync.jpake.serverURL to the EOLinator or blank (or to something that doesn't resolve) doesn't change the JPAKE/pairing flow at all, except that it will never succeed. No indication is given that the jpake.serverURL does not exist.
> No indication is given that the jpake.serverURL does not exist. This is a shame, but I don't think there's much we can do about it at this stage.
Bob and I worked out a time to get this testing done -- clearing needinfo.
Flags: needinfo?(bobm)
Based on the outcome of the tests, closing this bug as fixed. Karl please set to verified, or re-open if required.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 1207867
I will mark this bug VERIFIED after we throw a bit of load at the mass-produced EOLinator.
EOLinators tested in both stage and prod, including expected production load. We're good to go, folks.
Status: RESOLVED → VERIFIED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: