Skip to content

cannot initialize workspace: no backup found; last backup failed: workspace does not exist. #9598

@sagor999

Description

@sagor999

Bug description

Sometimes workspace can fail during shutdown with this error:
'cannot initialize workspace: no backup found; last backup failed: workspace does not exist.'

This happens because DisposeWorkspace can be called multiple times.
First call removes workspace id from the store, and second one will fail.

Steps to reproduce

it happens randomly. Look in logs for 'workspace does not exist'

Workspace affected

No response

Expected behavior

No response

Example repository

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

team: workspaceIssue belongs to the Workspace team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions