apache / incubator-pegasus

Apache Pegasus - A horizontally scalable, strongly consistent and high-performance key-value store
https://pegasus.apache.org/
Apache License 2.0
1.96k stars 310 forks source link

refactor(host_port): Unify the hostname lookup function #2023

Closed acelyc111 closed 1 month ago

acelyc111 commented 1 month ago

Move lookup_hostname() from utils/utils.h to rpc_host_port, and remove the use less addr2host() in src/base/pegasus_utils.h

There is no functionality changes.