Skip to content

Bug: Workspace creation is non-atomic #142

Open
@wafelmolt

Description

@wafelmolt

Just set up an Huly instance for my non-profit and the first time, I ran into a transactional issue.

My workspace would be "partialy" created because my S3 instance was not set up correctly.

The workspace creation seams to be a 2-steps action :

  • Creation of mongodb collection
  • Creation of associated bucket

In fact, my particular case is tied to misconfig, but to me, it means that this will happen in a situation where my S3 is simply not joinable for any reason.

Huly platform should implement a mechanism for handling a transactional state verification of the workspace creation to ensure consistency.

As the application system is mainly microservices oriented, I would suggest 2-phase commit, saga pattern or single local transaction.

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