-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the structure of WatchDocument API (#491)
1. Change to use ID instead of Key in WatchDocument - By introducing RemoveDocument API, multiple IDs can be mapped to a single key(multiple removed IDs and one active ID) 2. Change WatchDocuments API to WatchDocument API - In the cluster mode conversion task, one document is mapped to one server, and single document mapping is a simplified cluster - This can cause Changing the structure where the client maintains one WatchDocuments stream to maintain multiple streams. 3. Remove unnecessary types due to the change in step 2 - The implementation was simplified by changing the structure in step 2, so unnecessary data types were cleaned up. Co-authored-by: hackerwins <hackerwins@gmail.com>
- Loading branch information
1 parent
bfdbabf
commit dcf4cfb
Showing
26 changed files
with
857 additions
and
1,061 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
Large diffs are not rendered by default.
Oops, something went wrong.
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.