Skip to content
Snippets Groups Projects
Commit 42c00fb8 authored by akwizgran's avatar akwizgran
Browse files

Merge branch 'client-transactions' into 'master'

Transactions for clients

This patch moves transactions out of the database component, allowing clients to perform multiple database calls in a single transaction. This should improve efficiency and reliability, at the cost of increased boilerplate for database calls.

Operations that allow hooks, such as adding and removing contacts, pass their transactions to their hooks. This ensures the whole operation is atomic and isolated, so StorageStatus is no longer needed, hooks don't need to be idempotent, and locks can be removed from clients that were using them for isolation.

This merge request is marked WIP because it will conflict with !74.

See merge request !101
parents f43f79eb 00e59613
No related branches found
No related tags found
No related merge requests found
Showing
with 1030 additions and 1830 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment