To ensure every references of rpc_address fields in idl/dsn.layer2.thrift
are get/set together with the related host_port fields, I use the following
steps:
Rename the rpc_address and host_port field names (e.g. append a 1
character) in idl/dsn.layer2.thrift
Update the C++ code to make sure the project can be built succeed
Find out all the changes, and use the macros to set/get the rpc_address
and host_port fields.
1
character) in idl/dsn.layer2.thrift