提交 80414107 编写于 作者: S Shengliang Guan

[TD-777]

上级 fe671bbd
...@@ -319,7 +319,7 @@ static int32_t dnodeOpenVnodes() { ...@@ -319,7 +319,7 @@ static int32_t dnodeOpenVnodes() {
int32_t failedVnodes = 0; int32_t failedVnodes = 0;
for (int32_t t = 0; t < threadNum; ++t) { for (int32_t t = 0; t < threadNum; ++t) {
SOpenVnodeThread *pThread = &threads[t]; SOpenVnodeThread *pThread = &threads[t];
if (pThread->thread) { if (pThread->vnodeNum > 0 && pThread->thread) {
pthread_join(pThread->thread, NULL); pthread_join(pThread->thread, NULL);
} }
openVnodes += pThread->opened; openVnodes += pThread->opened;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册