-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retry when an async slotmap update fails (#159)
- Small fix to reattempt failing slotmap updates. - Handle empty and NULL addresses in `CLUSTER SLOTS` responses. As described in cluster slots docs: "Clients may treat the empty string in the same way as NULL, that is the same endpoint it used to send the current command to" - clusterclient_async received a new flag --async-initial-update to enable usage of valkeyClusterAsyncConnect2, which avoids blocking initial slotmap update. - Use short timeout when scheduling processing of next command in clusterclient_async and allow the event engine to read from sockets before next command, which improves predictability in tests. Signed-off-by: Björn Svensson <[email protected]>
- Loading branch information
Showing
7 changed files
with
295 additions
and
96 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
Oops, something went wrong.