mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 21:02:25 +03:00
Fix broken /sync
due to transaction error
This commit is contained in:
parent
aa8ec1acbf
commit
ee40a29e55
15 changed files with 45 additions and 8 deletions
|
@ -54,6 +54,7 @@ func (p *AccountDataStreamProvider) IncrementalSync(
|
|||
)
|
||||
if err != nil {
|
||||
req.Log.WithError(err).Error("p.DB.GetAccountDataInRange failed")
|
||||
_ = snapshot.Rollback()
|
||||
return from
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue