cdjingit opened a new issue, #2055:
URL: https://github.com/apache/incubator-brpc/issues/2055

   **Describe the bug (描述bug)**
   
   使用DynamicPartitionChannel时,各个片库的分片数是变化的, Request Map里只有channel_idx, 
没有分片总数的信息。
   
https://github.com/apache/incubator-brpc/blob/master/src/brpc/parallel_channel.h#L94
   virtual SubCall Map(int channel_index/*starting from 0*/,
                           const google::protobuf::MethodDescriptor* method,
                           const google::protobuf::Message* request,
                           google::protobuf::Message* response) = 0;
   
   接口改为:
   
   使用DynamicPartitionChannel时,各个片库的分片数是变化的, Request Map里只有channel_idx, 
没有分片总数的信息。
   virtual SubCall Map(int channel_index/*starting from 0*/,
                                     int channel_count,
                           const google::protobuf::MethodDescriptor* method,
                           const google::protobuf::Message* request,
                           google::protobuf::Message* response) = 0;
   


-- 
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-unsubscr...@brpc.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to