提交 b5fa8bf6 编写于 作者: K Kaili Xu

update logs

上级 683c4d58
...@@ -241,7 +241,7 @@ void *tsdbFreeFS(STsdbFS *pfs) { ...@@ -241,7 +241,7 @@ void *tsdbFreeFS(STsdbFS *pfs) {
static int tsdbProcessExpiredFS(STsdbRepo *pRepo) { static int tsdbProcessExpiredFS(STsdbRepo *pRepo) {
tsdbStartFSTxn(pRepo, 0, 0); tsdbStartFSTxn(pRepo, 0, 0);
if (tsdbCreateMeta(pRepo) < 0) { if (tsdbCreateMeta(pRepo) < 0) {
tsdbError("vgId:%d failed to apply rtn since %s", REPO_ID(pRepo), tstrerror(terrno)); tsdbError("vgId:%d failed to create meta since %s", REPO_ID(pRepo), tstrerror(terrno));
return -1; return -1;
} }
...@@ -309,7 +309,7 @@ int tsdbOpenFS(STsdbRepo *pRepo) { ...@@ -309,7 +309,7 @@ int tsdbOpenFS(STsdbRepo *pRepo) {
tsdbError("vgId:%d failed to open FS since %s", REPO_ID(pRepo), tstrerror(terrno)); tsdbError("vgId:%d failed to open FS since %s", REPO_ID(pRepo), tstrerror(terrno));
return -1; return -1;
} }
tsdbScanAndTryFixDFilesHeader(pRepo, &nExpired); tsdbScanAndTryFixDFilesHeader(pRepo, &nExpired);
if (nExpired > 0) { if (nExpired > 0) {
tsdbProcessExpiredFS(pRepo); tsdbProcessExpiredFS(pRepo);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册