fix(stream): check rsp.
This commit is contained in:
parent
80604ec8e2
commit
66bdace9eb
|
@ -1299,7 +1299,12 @@ void streamMetaRLock(SStreamMeta* pMeta) {
|
||||||
|
|
||||||
void streamMetaRUnLock(SStreamMeta* pMeta) {
|
void streamMetaRUnLock(SStreamMeta* pMeta) {
|
||||||
stTrace("vgId:%d meta-runlock", pMeta->vgId);
|
stTrace("vgId:%d meta-runlock", pMeta->vgId);
|
||||||
taosThreadRwlockUnlock(&pMeta->lock);
|
int32_t code = taosThreadRwlockUnlock(&pMeta->lock);
|
||||||
|
if (code != TSDB_CODE_SUCCESS) {
|
||||||
|
stError("vgId:%d meta-runlock failed, code:%d", pMeta->vgId, code);
|
||||||
|
} else {
|
||||||
|
stDebug("vgId:%d meta-runlock completed", pMeta->vgId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void streamMetaWLock(SStreamMeta* pMeta) {
|
void streamMetaWLock(SStreamMeta* pMeta) {
|
||||||
|
|
Loading…
Reference in New Issue