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/22 15:52:00 UTC

[jira] [Created] (HBASE-26481) Consider rolling upgrading from old region replication framework

Duo Zhang created HBASE-26481:
---------------------------------

             Summary: Consider rolling upgrading from old region replication framework
                 Key: HBASE-26481
                 URL: https://issues.apache.org/jira/browse/HBASE-26481
             Project: HBase
          Issue Type: Sub-task
            Reporter: Duo Zhang


In the old implementation, we will cerate a replication peer for region replication. And in the new framework, we do not need the peer any more, so we have deleted the RegionReplicaReplicationEndpoint class.

But when rolling upgrading, the peer is still there so we will try to load it and it will lead to a class not found exception. We need to handle it.

And during the upgrading, some of the region servers may not have the correct replicateToReplica method yet. Maybe we could try to catch the no such method error and try to fallback to use replay method. Although it is not perfect, but finally a flush can fix everything.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)