Fixed the timeout when state keys generation is late
The state keys are not generated as long as the time hasn't been synchronized. These changes fix the case when the state keys generation is late, possibly for the network missing reason, and the controller hits the timeout. The timeout can happen at establishing the ownership, or later at state keys check. Without state keys check we cannot assume we can skip FRE. If the ownership is established and FRE can be skipped (OWNERSHIP_TAKEN or OWNERSHIP_UNKNOWN), the new state is set immediately, so the timeout cannot trigger. TEST=Manually tested on a falco chromebook. BUG=673270, 645464 Review-Url: https://codereview.chromium.org/2587033002 Cr-Commit-Position: refs/heads/master@{#440748}
Showing
Please register or sign in to comment