mirror of
https://github.com/fluencelabs/redis
synced 2025-04-02 15:51:05 +00:00
Fixed clearNodeFailureIfNeeded() time type to mstime_t.
This prevented 32bit cluster instances from clearing the FAIL flag when needed.
This commit is contained in:
parent
e88e6a6334
commit
47815d38e0
@ -748,7 +748,7 @@ void markNodeAsFailingIfNeeded(clusterNode *node) {
|
|||||||
* to reach it again. It checks if there are the conditions to undo the FAIL
|
* to reach it again. It checks if there are the conditions to undo the FAIL
|
||||||
* state. */
|
* state. */
|
||||||
void clearNodeFailureIfNeeded(clusterNode *node) {
|
void clearNodeFailureIfNeeded(clusterNode *node) {
|
||||||
time_t now = mstime();
|
mstime_t now = mstime();
|
||||||
|
|
||||||
redisAssert(node->flags & REDIS_NODE_FAIL);
|
redisAssert(node->flags & REDIS_NODE_FAIL);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user