未验证 提交 323d8ee0 编写于 作者: X Xiaoyu Wang 提交者: GitHub

Merge pull request #20598 from taosdata/FIX/TD-23187-main

fix: set pWriter->info.state.committed as ever in vnodeSnapWriterClose
......@@ -335,6 +335,7 @@ int32_t vnodeSnapWriterClose(SVSnapWriter *pWriter, int8_t rollback, SSnapshot *
// commit json
if (!rollback) {
pWriter->info.state.committed = pWriter->ever;
pVnode->config = pWriter->info.config;
pVnode->state = (SVState){.committed = pWriter->info.state.committed,
.applied = pWriter->info.state.committed,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册