You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by "GehaFearless (via GitHub)" <gi...@apache.org> on 2023/04/19 12:28:35 UTC

[GitHub] [incubator-pegasus] GehaFearless commented on a diff in pull request #1436: feat(FQDN): Implement of struct host_port_group

GehaFearless commented on code in PR #1436:
URL: https://github.com/apache/incubator-pegasus/pull/1436#discussion_r1171265148


##########
src/runtime/rpc/rpc_host_port.cpp:
##########
@@ -79,7 +90,9 @@ host_port &host_port::operator=(const host_port &other)
         _port = other.port();
         break;
     case HOST_TYPE_GROUP:
-        CHECK(false, "type HOST_TYPE_GROUP not support!");
+        _group_host_port = other.group_host_port();
+        group_host_port()->add_ref();

Review Comment:
   `ref_counter` operation function equal not do it, so do derived class 'rpc_group_host_port'.



-- 
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: dev-unsubscribe@pegasus.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org