This commit is contained in:
Shengliang Guan 2020-06-28 14:29:23 +00:00
parent fe671bbd0e
commit 8041410772
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ static int32_t dnodeOpenVnodes() {
int32_t failedVnodes = 0;
for (int32_t t = 0; t < threadNum; ++t) {
SOpenVnodeThread *pThread = &threads[t];
if (pThread->thread) {
if (pThread->vnodeNum > 0 && pThread->thread) {
pthread_join(pThread->thread, NULL);
}
openVnodes += pThread->opened;