private static String getReceiverPipeDir(
      final String pipeName, final String remoteIp, final long createTime) {
    return getReceiverDir()
        + File.separator
        + String.format("%s-%d-%s", pipeName, createTime, remoteIp);
  }
Get current FileStartIndex.

@return startIndex of file: -1 if file doesn't exist
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/legacy/IoTDBLegacyPipeReceiverAgent.java