🐛 Index fixing should not be performed before data synchronization https://github.com/siyuan-note/siyuan/issues/10761

This commit is contained in:
Daniel 2024-03-27 09:48:06 +08:00
parent 2c1e8966e7
commit 0322e022f1
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 19 additions and 4 deletions

View file

@ -1330,6 +1330,9 @@ func syncRepo(exit, byHand bool) (dataChanged bool, err error) {
autoSyncErrCount = 0
processSyncMergeResult(exit, byHand, mergeResult, trafficStat, "a", elapsed)
// 首次数据同步执行完成后再执行索引订正 Index fixing should not be performed before data synchronization https://github.com/siyuan-note/siyuan/issues/10761
checkIndex()
return
}