mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-14 19:18:06 +01:00
🐛 Document content not updated after snapshot rollback https://github.com/siyuan-note/siyuan/issues/17026
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
d007668d10
commit
393e0e88f7
1 changed files with 2 additions and 3 deletions
|
|
@ -797,6 +797,8 @@ func VacuumDataIndex() {
|
|||
}
|
||||
|
||||
func FullReindex() {
|
||||
util.PushEndlessProgress(Conf.language(35))
|
||||
|
||||
cache.ClearTreeCache()
|
||||
cache.ClearDocsIAL()
|
||||
cache.ClearBlocksIAL()
|
||||
|
|
@ -818,9 +820,6 @@ func fullReindex() {
|
|||
pushSQLInsertBlocksFTSMsg, pushSQLDeleteBlocksMsg = false, false
|
||||
}()
|
||||
|
||||
util.PushEndlessProgress(Conf.language(35))
|
||||
defer util.PushClearProgress()
|
||||
|
||||
FlushTxQueue()
|
||||
|
||||
if err := sql.InitDatabase(true); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue