Closed bjosv closed 11 months ago
I reverted the callback handling for AUTH commands, to be added via separate PR. There are other authentication related changes that can be discussed in that PR.
Also removed the use of the eventloop in the testcases that didn't need any events for its testing.
The sync-API will now update the slotmap before attempting to send a command when the slot is not served.
The async-API will initate the slotmap update in parallell so that the next command might have an updated slotmap.
This also fix an additional issue by using the correct function name for
redisClusterUpdateSlotmap()
. The former namecluster_update_route()
is not defined whenHIRCLUSTER_NO_OLD_NAMES
is defined, which would break the build.Fixes #191