This commit is contained in:
Daniel 2024-10-14 20:39:16 +08:00
parent 2da4a885ef
commit 475155b7df
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
14 changed files with 17 additions and 62 deletions

View file

@ -295,7 +295,7 @@ func RollbackDocHistory(boxID, historyPath string) (err error) {
}
go func() {
sql.WaitForWritingDatabase()
sql.FlushQueue()
tree, _ = LoadTreeByBlockID(id)
if nil == tree {