fix a coredump
This commit is contained in:
parent
8f63c7d2f1
commit
ad67bdf111
|
@ -365,7 +365,8 @@ static int32_t tsdbSyncSendDFileSetArray(SSyncH *pSynch) {
|
||||||
do {
|
do {
|
||||||
pSet = tsdbFSIterNext(&fsiter);
|
pSet = tsdbFSIterNext(&fsiter);
|
||||||
if (tsdbSyncSendDFileSet(pSynch, pSet) < 0) {
|
if (tsdbSyncSendDFileSet(pSynch, pSet) < 0) {
|
||||||
tsdbError("vgId:%d, failed to send fileset:%d since %s", REPO_ID(pRepo), pSet->fid, tstrerror(terrno));
|
tsdbError("vgId:%d, failed to send fileset:%d since %s", REPO_ID(pRepo), pSet ? pSet->fid : -1,
|
||||||
|
tstrerror(terrno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue