| 88 | } |
| 89 | |
| 90 | void LockInfo2LocalLockInfo(const comm::proto::LockInfo &lock_info, |
| 91 | proto::LocalLockInfo &local_lock_info, |
| 92 | const uint64_t expire_time_ms) { |
| 93 | local_lock_info.set_version(lock_info.version()); |
| 94 | local_lock_info.set_client_id(lock_info.client_id()); |
| 95 | local_lock_info.set_lease_time_ms(lock_info.lease_time_ms()); |
| 96 | local_lock_info.set_expire_time_ms(expire_time_ms); |
| 97 | } |
| 98 | |
| 99 | //void GetOssAttrId(int32_t paxos_port, uint32_t *const oss_attr_id) { |
| 100 | // const string local_host{LOGID_BASE::GetInnerIP()}; |
nothing calls this directly
no outgoing calls
no test coverage detected