samperson1997 commented on a change in pull request #388: [IOTDB-200] Support
creating TsFileWriter with config of storage file system
URL: https://github.com/apache/incubator-iotdb/pull/388#discussion_r323524768
##########
File path:
server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
##########
@@ -537,7 +538,7 @@ public void syncDeleteDataFiles() {
List<String> folder =
DirectoryManager.getInstance().getAllSequenceFileFolders();
folder.addAll(DirectoryManager.getInstance().getAllUnSequenceFileFolders());
for (String tsfilePath : folder) {
- File storageGroupFolder = new File(tsfilePath, storageGroupName);
+ File storageGroupFolder = TSFileFactory.INSTANCE.getFile(tsfilePath,
storageGroupName);
if (storageGroupFolder.exists()) {
try {
FileUtils.deleteDirectory(storageGroupFolder);
Review comment:
Hi, I had debugged this statement but got the same error. Let me try other
methods.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services