-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Controller] Implement dual read for Push Status System Store (#909)
With changes in this PR, controller will try to compose a version level key and use it to read from push status system store when checking batch push status on DaVinci side: { keyStrings: {10} // Version 10 messageType: 1 // 1: Full Push } If controller gets null response for the new key, it will assume that DaVinci is not upgraded yet, and fall back to partition level keys: { keyStrings: {10, 0} // Version 10, partition 0 messageType: 1 // 1: Full Push } Roll out steps in order: 1. After the controller changes are rolled out to production and stabilize, deprecate all previous backend releases. 2. Release DaVinci changes to start producing a version level batch updates; stabilize the client release and deprecate all previous client releases. 3. Clean up tech debts in controller - remove all partition level keys related logic. Other changes: Previously the entire instance map would be logged whenever a push status query returns, the log is removed in this PR, because the map is too big and would flood the log with thousands of instance names.
- Loading branch information
1 parent
3269186
commit 99ce218
Showing
6 changed files
with
313 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.