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/7016

Liang Ding3f1cbb2d1d94
diff --git a/kernel/model/transaction.go b/kernel/model/transaction.go
index 2e4dc6ca10..2b6948a5dc 100644
--- a/kernel/model/transaction.go
+++ b/kernel/model/transaction.go
@@ -1230,7 +1230,7 @@ func AutoFixIndex() {
var autoFixLock = sync.Mutex{}
func autoFixIndex() {
- if util.IsMutexLocked(&autoFixLock) {
+ if util.IsMutexLocked(&autoFixLock) || isFullReindexing {
return
}