Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

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

Daniel393e0e88f744
diff --git a/kernel/model/box.go b/kernel/model/box.go
index 7530c6be6c..4d83208238 100644
--- a/kernel/model/box.go
+++ b/kernel/model/box.go
@@ -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 {