Merge pull request #15551 from taosdata/fix/hzcheng_3.0

fix: replica bug
This commit is contained in:
Hongze Cheng 2022-07-29 18:34:15 +08:00 committed by GitHub
commit be1b973ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,8 @@ int32_t metaSnapWriterOpen(SMeta* pMeta, int64_t sver, int64_t ever, SMetaSnapWr
pWriter->sver = sver;
pWriter->ever = ever;
metaBegin(pMeta);
*ppWriter = pWriter;
return code;