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
|
@ -52,6 +52,7 @@ func (p *ReceiptStreamProvider) IncrementalSync(
|
|||
lastPos, receipts, err := snapshot.RoomReceiptsAfter(ctx, joinedRooms, from)
|
||||
if err != nil {
|
||||
req.Log.WithError(err).Error("p.DB.RoomReceiptsAfter failed")
|
||||
_ = snapshot.Rollback()
|
||||
return from
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue