🐛 Document content not updated after snapshot rollback https://github.com/siyuan-note/siyuan/issues/17026

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-02-13 00:05:24 +08:00
parent d007668d10
commit 393e0e88f7
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -797,6 +797,8 @@ func VacuumDataIndex() {
}
func FullReindex() {
util.PushEndlessProgress(Conf.language(35))
cache.ClearTreeCache()
cache.ClearDocsIAL()
cache.ClearBlocksIAL()
@ -818,9 +820,6 @@ func fullReindex() {
pushSQLInsertBlocksFTSMsg, pushSQLDeleteBlocksMsg = false, false
}()
util.PushEndlessProgress(Conf.language(35))
defer util.PushClearProgress()
FlushTxQueue()
if err := sql.InitDatabase(true); err != nil {