You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/03/13 08:31:21 UTC

[GitHub] [incubator-iotdb] qiaojialin commented on a change in pull request #901: Cheery pick changes from cluster_new

qiaojialin commented on a change in pull request #901: Cheery pick changes from cluster_new
URL: https://github.com/apache/incubator-iotdb/pull/901#discussion_r392059623
 
 

 ##########
 File path: server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java
 ##########
 @@ -529,15 +529,23 @@ private String getSgByEngineFile(File file) {
 
   /**
    *
-   * @return TsFiles (seq or unseq) grouped by their storage group.
+   * @return TsFiles (seq or unseq) grouped by their storage group and partition number.
    */
-  public Map<String, List<TsFileResource>> getAllClosedStorageGroupTsFile() {
-    Map<String, List<TsFileResource>> ret = new HashMap<>();
+  public Map<String, Map<Integer, List<TsFileResource>>> getAllClosedStorageGroupTsFile() {
 
 Review comment:
   The partition number is an Integer or Long?

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


With regards,
Apache Git Services