Skip to content

Delete session bug #4027

@waclaw66

Description

@waclaw66

Describe the bug
There is a bug that leads to
Error: [{"message":"Database inconsistency on table compat_sessions column device_id row 01HQ3FB21QVAPX9E710P93212F","locations":[{"line":7,"column":7}],"path":["viewer","appSessions"]}]
while listing user account sessions on MAS

To Reproduce
Steps to reproduce the behavior:

  1. Delete sessions from Element Web and MAS simultaneously. Those sessions were created by failed QR code device pairing described here:
    Link device QR code fails with 412 M_CONCURRENT_WRITE synapse#18155

Expected behavior
No crash

Screenshots

Server:

  • OS: Fedora 41
  • Browser: not relevant
  • Version 0.13.0 (docker image)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions