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/08/11 11:11:20 UTC

[GitHub] [incubator-iotdb] Genius-pig commented on a change in pull request #1496: Support double quotation in Path and optimize the Path String usage

Genius-pig commented on a change in pull request #1496:
URL: https://github.com/apache/incubator-iotdb/pull/1496#discussion_r468502062



##########
File path: server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
##########
@@ -1560,12 +1566,12 @@ private void deleteDataInFiles(Collection<TsFileResource> tsFileResourceList, De
     }
   }
 
-  private void tryToDeleteLastCache(String deviceId, String measurementId, long startTime,
+  private void tryToDeleteLastCache(List<String> deviceNodes, String deviceId, String measurementId, long startTime,
       long endTime) throws WriteProcessException {
     MNode node = null;
     try {
       MManager manager = MManager.getInstance();
-      node = manager.getDeviceNodeWithAutoCreateAndReadLock(deviceId);
+      node = manager.getDeviceMNodeWithAutoCreateAndReadLock(deviceId, deviceNodes);

Review comment:
       fixed




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