LemonCL commented on issue #17060: URL: https://github.com/apache/doris/issues/17060#issuecomment-1441187449
1. 副本状态检测: 我们当前的集群tag配置是: group_a:1 group_b:1 group_c:1 出问题的tablet分布情况是:group_a:1 group_b:2 这3个replica 是stable, group_c: 1 的replica 是unstable。通过下面这个代码,allocMap 和 currentAlloMap做比较,符合REPLICA_MISSING_FOR_TAG,所以进行对应副本修复。   2. 进行副本修复: 在chooseProperTag 函数中寻找合适的tag返回进行修复,会上报no proper tag is chose for tablet。因为此时的allocMap 和 currentAlloMap做比较时,currentAlloMap未考虑repliac是否stable,所以找不到对应的tag。   综上所述,是因为副本状态检测和副本修复中关于currentAlloMap 的赋值前后条件不一致。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org