You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2020/09/11 05:47:55 UTC

[GitHub] [incubator-pegasus] hycdong commented on a change in pull request #592: refactor: split read/write hotspot of hotspot_partition_calculator

hycdong commented on a change in pull request #592:
URL: https://github.com/apache/incubator-pegasus/pull/592#discussion_r486786586



##########
File path: src/server/hotspot_partition_calculator.h
##########
@@ -24,6 +24,9 @@
 namespace pegasus {
 namespace server {
 
+typedef std::list<std::vector<hotspot_partition_data>> statistical_histories;
+typedef std::vector<std::vector<std::unique_ptr<dsn::perf_counter_wrapper>>> hot_partition_counters;

Review comment:
       `std::vector<std::vector<......>>> hot_partition_counters`, This sturcture is a little bit complex, could you please explain why you design it like that?




----------------------------------------------------------------
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.

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