提交 921ea272 编写于 作者: A ascrutae

修复Offset文件目录如果不存在,则创建

上级 f4ab7b53
......@@ -22,6 +22,10 @@ public class RegisterPersistenceThread extends Thread {
public RegisterPersistenceThread() {
super("RegisterPersistenceThread");
File offsetParentDir = new File(REGISTER_FILE_PARENT_DIRECTORY);
if (!offsetParentDir.exists()){
offsetParentDir.mkdirs();
}
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册