[fix] the new leader do not degrade crashed server when arbitration_timeout is larger than 10s

This commit is contained in:
BinChenn
2023-10-13 05:40:00 +00:00
committed by ob-robot
parent c7a7d23cfc
commit 9cb41a41d6
9 changed files with 57 additions and 3 deletions

View File

@ -29,6 +29,7 @@ public:
bool in_black_or_stopped(const common::ObAddr &server) override final {return false;}
bool is_server_stopped(const common::ObAddr &server) override final {return false;}
bool in_black(const common::ObAddr &server) override final {return false;}
int get_last_resp_ts(const common::ObAddr &server, int64_t &last_resp_ts) { return OB_SUCCESS; }
};
const ObAddr addr1(ObAddr::IPV4, "127.0.0.1", 1000);