Uh oh!
There was an error while loading. Please reload this page.
[ASI-756] PR #3 - Update snapback logic to consume filesHash - #2186
Conversation
Uh oh!
There was an error while loading. Please reload this page.
dmanjunath
left a comment
There was a problem hiding this comment.
very clean and easy to understand
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
vicky-g
commented
Jan 26, 2022
might also be worth while to create loggly dashboards to parse for the logs mentioned in the bio |
SidSethi
commented
Jan 26, 2022
@vicky-g seems overkill - simple to query normally, can revisit after some time if needed |
SidSethi
commented
Jan 26, 2022
@vicky-g@dmanjunath addressed all comments, couple outstanding discussions - pls re-review!! |
dmanjunath
left a comment
There was a problem hiding this comment.
glad to see async-retry works with this!
vicky-g
left a comment
There was a problem hiding this comment.
almost there! just a small comment regarding creator-node/src/snapbackSM/computeSyncModeForUserAndReplica.js
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description
filesHash, with back-compatcomputeSyncModeForUserAndReplicamoduleTests
computeSyncModeForUserAndReplica()How will this change be monitored?
Monitor recurring sync failures, and watch out for logs:
[issueSyncRequestsToSecondaries] [PrimaryShouldSync = true] wallet ${wallet} secondary ${secondary} Clocks: [${primaryClock},${secondaryClock}] Files hashes: [${primaryFilesHash},${secondaryFilesHash}]"[issueSyncRequestsToSecondaries] Falling back to computeSyncModeForUserAndReplicaLegacy() [primaryFilesHash: ${primaryFilesHash}] secondaryFilesHash: ${secondaryFilesHash}"