You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/11/11 02:21:00 UTC
[jira] [Created] (HBASE-26449) The way we add or clear
failedReplicas may have race
Duo Zhang created HBASE-26449:
---------------------------------
Summary: The way we add or clear failedReplicas may have race
Key: HBASE-26449
URL: https://issues.apache.org/jira/browse/HBASE-26449
Project: HBase
Issue Type: Sub-task
Components: read replicas
Reporter: Duo Zhang
We will add a replica to failedReplicas in the callback of the replay method call, and we will clear the failedReplicas in add method when we meet a flush all edit.
They are in different threads, so it is possible that, we have already clear the failedReplicas due to a flush all edit, then in the callback of replay, we add a replica to the failedReplicas because of a failure of replicating, although the failure is actually before the flush all edit.
We should find a way to fix this.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)