Skip to content

[Bug] Client Error writing to database: Index error -> no retry logic in seshat #159

Description

@suse-coder

Steps to reproduce
We get in the Desktop clients once a day this error messages displayed to the user:
Error: Error writing to database: Index error: An IO error occurred: 'io error occurred on path '"18e57933af9f4189b847e1f1e7a0d02d.store"': 'Zugriff verweigert (os error 5)''

This file does not exist in the Eventstore locally (was deleted).

It seems to me currently that when the antivirus is scanning it (and lock it) and at the same time seshat is trying to write, that seshat then afterwards just deletes that file. It should instead wait and then continue. Currently very annoying popup is instead shown from element desktop.

Outcome
What did you expect?
What happened instead?
Operating system
Win 11

Application version
Element 1.12.11

How did you install the app?
No response

Homeserver
No response

Will you send logs?
No

element-hq/element-desktop#2844

element-hq/element-web#31850

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions