Skip to content

Commit

Permalink
Delete some unused check in MManager
Browse files Browse the repository at this point in the history
  • Loading branch information
samperson1997 committed Feb 20, 2020
1 parent a193551 commit ecfda43
Show file tree
Hide file tree
Showing 11 changed files with 109 additions and 203 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public Status analyze() throws IOException, MetadataException {

analyzeUnseqFiles(bufferedReader);

List<String> storageGroupPaths = MManager.getInstance().getPaths(storageGroupName + ".*");
List<String> storageGroupPaths = MManager.getInstance().getAllTimeseriesName(storageGroupName + ".*");
unmergedPaths = new ArrayList<>();
for (String path : storageGroupPaths) {
unmergedPaths.add(new Path(path));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private void doMerge() throws IOException, MetadataException {
.getStorageGroupSchema(storageGroupName);
resource.addMeasurements(measurementSchemas);

List<String> storageGroupPaths = MManager.getInstance().getPaths(storageGroupName + ".*");
List<String> storageGroupPaths = MManager.getInstance().getAllTimeseriesName(storageGroupName + ".*");
List<Path> unmergedSeries = new ArrayList<>();
for (String path : storageGroupPaths) {
unmergedSeries.add(new Path(path));
Expand Down

This file was deleted.

0 comments on commit ecfda43

Please sign in to comment.