Redis [QUESTION]how to fix it ? redis-cli: redis-cli.c:2454: clusterManagerGetAntiAffinityScore:Assertion key != NULL'failed. what happend case?

Comment From: enjoy-binbin

Can you provide a redis version and the steps that we can reproduce

Comment From: laotouli

used redis:6.0.6 image , three pods in k8s  conf:

pods is operating properly , create cluster has the problem.

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年4月25日(星期一) 晚上10:45 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [redis/redis] [QUESTION]how to fix it ? redis-cli: redis-cli.c:2454: clusterManagerGetAntiAffinityScore:Assertion key != NULL'failed. (Issue #10632)

Can you provide a redis version and the steps that we can reproduce

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Comment From: laotouli

can you tell me "key != NULL" , what is the key?

------------------ 原始邮件 ------------------ 发件人: "redis/redis" @.>; 发送时间: 2022年4月25日(星期一) 晚上10:45 @.>; @.**@.**>; 主题: Re: [redis/redis] [QUESTION]how to fix it ? redis-cli: redis-cli.c:2454: clusterManagerGetAntiAffinityScore:Assertion key != NULL'failed. (Issue #10632)

Can you provide a redis version and the steps that we can reproduce

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Comment From: zuiderkwast

This assert: https://github.com/redis/redis/blob/6.0.6/src/redis-cli.c#L2771 But the line number doesn't match yours.

The comment two lines above: /* We always use the Master ID as key. */

Comment From: laotouli

This assert: https://github.com/redis/redis/blob/6.0.6/src/redis-cli.c#L2771 But the line number doesn't match yours.

The comment two lines above: /* We always use the Master ID as key. */

Why does this happen and what can I do to fix it

Comment From: laotouli

What should I do to solve this problem?

------------------ 原始邮件 ------------------ 发件人: "redis/redis" @.>; 发送时间: 2022年4月26日(星期二) 中午11:39 @.>; @.**@.**>; 主题: Re: [redis/redis] [QUESTION]how to fix it ? redis-cli: redis-cli.c:2454: clusterManagerGetAntiAffinityScore:Assertion key != NULL'failed. (Issue #10632)

This assert: https://github.com/redis/redis/blob/6.0.6/src/redis-cli.c#L2771 But the line number doesn't match yours.

The comment two lines above: / We always use the Master ID as key. /

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Comment From: 631086083

It looks like your redis isn't establishing the master-slave relationship properly for some reason, resulting in key = NULL

Comment From: em34j

I have same issues

Comment From: em34j

@laotouli are you fixed?

Comment From: laotouli

yes! restart firewalled everything is ok !

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年5月29日(星期天) 中午12:59 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [redis/redis] [QUESTION]how to fix it ? redis-cli: redis-cli.c:2454: clusterManagerGetAntiAffinityScore:Assertion key != NULL'failed. (Issue #10632)

@laotouli are you fixed?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>