Description[Sync] Sync should run canary cycle after any network related error
Today sync only runs canary cycle after small subset of network errors
that are related to connection/network failure. This leaves sync in
exponential backoff when unexpected error is returned from network
stack.
In this change I make sync translate all network errors to
CONNECTION_UNAVAILABLE therefore making it try canary job after network
change.
BUG=539943
R=zea@chromium.org
Committed: https://crrev.com/bcaf62bdd2b84e26cf419ea483584cc6ef918330
Cr-Commit-Position: refs/heads/master@{#367746}
Patch Set 1 #Patch Set 2 : Adjust initial delay for CONNECTION_UNAVAILABLE error. #
Total comments: 2
Patch Set 3 : Update integration test. #
Total comments: 1
Patch Set 4 : Fix android test #Messages
Total messages: 13 (4 generated)
|