From 3f1cbb2d1d9490c177792e30a54044495d805601 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 8 Jan 2023 23:55:57 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E8=87=AA=E5=8A=A8=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E7=B4=A2=E5=BC=95=20https://github.?= =?UTF-8?q?com/siyuan-note/siyuan/issues/7016?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/transaction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/transaction.go b/kernel/model/transaction.go index 2e4dc6ca1..2b6948a5d 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 }