forked from valkey-io/libvalkey
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor slotmap update functions (valkey-io#107)
- Merge `handleClusterSlotsReply` and `handleClusterNodesReply` into `clusterUpdateRouteHandleReply`. - Validate the reply in `parse_cluster_slots` and `parse_cluster_nodes` - Remove redundant argument `flags` in `parse_cluster_slots` and `parse_cluster_nodes` - Use error strings from the standalone context in both the send function (`clusterUpdateRouteSendCommand`) and the response function (`handleClusterSlotsReply`); making sure that specific error strings are used (like OOM). Signed-off-by: Björn Svensson <[email protected]>
- Loading branch information
Showing
2 changed files
with
48 additions
and
95 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