limowang commented on code in PR #2328:
URL:
https://github.com/apache/incubator-pegasus/pull/2328#discussion_r2916985847
##########
src/meta/meta_data.cpp:
##########
@@ -538,6 +541,11 @@ app_state::app_state(const app_info &info) :
app_info(info), helpers(new app_sta
CLEAR_IP_AND_HOST_PORT(pc, secondaries);
CLEAR_IP_AND_HOST_PORT(pc, last_drops);
+ // TODO(yujingwei): use marco simplify the code, and the logical may should
+ // change
+ pc.__set_hp_secondaries({});
Review Comment:
Would it be possible to modify the implementation of the
CLEAR_IP_AND_HOST_PORT macro?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]