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 2022/02/18 12:08:16 UTC

[GitHub] [iotdb] Cpaulyz commented on a change in pull request #4989: [To new_sync][IOTDB-2272] implement customized sync process: collector

Cpaulyz commented on a change in pull request #4989:
URL: https://github.com/apache/iotdb/pull/4989#discussion_r809941392



##########
File path: server/src/main/java/org/apache/iotdb/db/newsync/receiver/recovery/ReceiverLog.java
##########
@@ -31,7 +31,7 @@
   private BufferedWriter bw;
 
   public ReceiverLog() throws IOException {
-    File logFile = new File(SenderConf.sysDir, SyncConstant.RECEIVER_LOG_NAME);
+    File logFile = new File(SyncPathUtil.getSysDir(), SyncConstant.RECEIVER_LOG_NAME);
     if (!logFile.getParentFile().exists()) {
       logFile.getParentFile().mkdirs();
     }

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.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org