Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/17535

Daniel039128e21cb1
diff --git a/kernel/model/index_fix.go b/kernel/model/index_fix.go
index 0ce60f8172..eb76948457 100644
--- a/kernel/model/index_fix.go
+++ b/kernel/model/index_fix.go
@@ -46,6 +46,7 @@ var (
)
// checkIndex 自动校验数据库索引,仅在数据同步执行完成后执行一次。
+// Index fixing should not be performed before data synchronization https://github.com/siyuan-note/siyuan/issues/10761
func checkIndex() {
checkIndexOnce.Do(func() {
if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container || util.ContainerHarmony == util.Container {