Skip to content

Make the database service have a Tx interface #539

@Boog900

Description

@Boog900

What

Currently the database services have a interface that allows a single request at a time, creating a db tx each time it is called. Instead you should first need to call a function to start a DB tx before doing any calls.

Why

Makes keeping the DB state consistent easier, often multiple requests are needed and we need to make sure each request stays in sync.

Where

the database service and and users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-storageArea: Related to storage.C-proposalCategory: A proposal of some kind, and a request for comments.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions