mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 tree not found appears when rebuilding index https://github.com/siyuan-note/siyuan/issues/11036
This commit is contained in:
parent
1ae39777a6
commit
16c665bfa7
4 changed files with 16 additions and 12 deletions
|
|
@ -162,7 +162,7 @@ func LoadTreeByBlockIDWithReindex(id string) (ret *parse.Tree, err error) {
|
|||
|
||||
bt := treenode.GetBlockTree(id)
|
||||
if nil == bt {
|
||||
if task.Contain(task.DatabaseIndex, task.DatabaseIndexFull) {
|
||||
if task.ContainIndexTask() {
|
||||
err = ErrIndexing
|
||||
return
|
||||
}
|
||||
|
|
@ -187,7 +187,7 @@ func LoadTreeByBlockID(id string) (ret *parse.Tree, err error) {
|
|||
|
||||
bt := treenode.GetBlockTree(id)
|
||||
if nil == bt {
|
||||
if task.Contain(task.DatabaseIndex, task.DatabaseIndexFull) {
|
||||
if task.ContainIndexTask() {
|
||||
err = ErrIndexing
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue