restoring replica do not resp reconfirm fetch log req.
This commit is contained in:
@ -91,6 +91,10 @@ public:
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
bool is_single_member_mode() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
common::ObReplicaType get_replica_type() const
|
||||
{
|
||||
return REPLICA_TYPE_MAX;
|
||||
|
||||
@ -203,9 +203,11 @@ public:
|
||||
UNUSED(sick_child);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
int process_reject_msg(const common::ObAddr& server, const int32_t msg_type, const int64_t timestamp)
|
||||
int process_reject_msg(const common::ObAddr &server, const int64_t cluster_id,
|
||||
const int32_t msg_type, const int64_t timestamp)
|
||||
{
|
||||
UNUSED(server);
|
||||
UNUSED(cluster_id);
|
||||
UNUSED(msg_type);
|
||||
UNUSED(timestamp);
|
||||
return OB_SUCCESS;
|
||||
@ -477,11 +479,6 @@ public:
|
||||
UNUSED(role);
|
||||
return common::OB_SUCCESS;
|
||||
}
|
||||
virtual int get_role_for_partition_table(common::ObRole& role) const
|
||||
{
|
||||
UNUSED(role);
|
||||
return common::OB_SUCCESS;
|
||||
}
|
||||
virtual int set_archive_restore_state(const int16_t archive_restore_state)
|
||||
{
|
||||
UNUSED(archive_restore_state);
|
||||
@ -512,13 +509,7 @@ public:
|
||||
UNUSED(leader_epoch);
|
||||
return common::OB_SUCCESS;
|
||||
}
|
||||
virtual int get_role_for_partition_table_unlock(bool& in_changing_leader_windows, int64_t& leader_epoch) const
|
||||
{
|
||||
UNUSED(in_changing_leader_windows);
|
||||
UNUSED(leader_epoch);
|
||||
return common::OB_SUCCESS;
|
||||
}
|
||||
virtual int get_leader_curr_member_list(common::ObMemberList& member_list) const
|
||||
virtual int get_leader_curr_member_list(common::ObMemberList &member_list) const
|
||||
{
|
||||
UNUSED(member_list);
|
||||
return common::OB_SUCCESS;
|
||||
@ -1492,6 +1483,15 @@ public:
|
||||
{
|
||||
return true;
|
||||
}
|
||||
virtual int process_restore_check_req(const common::ObAddr &server,
|
||||
const int64_t cluster_id,
|
||||
const ObRestoreCheckType restore_type)
|
||||
{
|
||||
UNUSED(server);
|
||||
UNUSED(cluster_id);
|
||||
UNUSED(restore_type);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
virtual int check_and_try_leader_revoke(const election::ObElection::RevokeType& revoke_type)
|
||||
{
|
||||
UNUSED(revoke_type);
|
||||
@ -1501,7 +1501,13 @@ public:
|
||||
{
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
virtual int process_query_restore_end_id_resp(const common::ObAddr &server,
|
||||
const uint64_t last_restore_log_id) override
|
||||
{
|
||||
UNUSED(server);
|
||||
UNUSED(last_restore_log_id);
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
private:
|
||||
common::ObPartitionKey p_k_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user