[FEAT MERGE] log4100 branch

Co-authored-by: tino247 <tino247@126.com>
Co-authored-by: BinChenn <binchenn.bc@gmail.com>
Co-authored-by: HaHaJeff <jeffzhouhhh@gmail.com>
This commit is contained in:
obdev
2023-01-28 18:17:31 +08:00
committed by ob-robot
parent a269ffe6be
commit 50024b39cd
772 changed files with 60275 additions and 11301 deletions

View File

@ -1767,8 +1767,9 @@ int ObTableLocation::get_link_table_location(const uint64_t tenant_id,
fake_addr.set_ipv4_addr(654321, 4321);
int64_t fake_port = 4321;
OZ(ls_replica.init(fake_addr, common::LEADER,
fake_port, REPLICA_TYPE_FULL,
mock_prop, ls_restore_status));
fake_port, REPLICA_TYPE_FULL,
mock_prop, ls_restore_status,
1 /*proposal_id*/));
location.init(GCONF.cluster_id, tenant_id, ObLSID(ObLSID::SYS_LS_ID), now);
OZ(location.add_replica_location(ls_replica));
return ret;