ryco117 / distort-server

A reference-implementation homeserver for the research anonymity protocol, DistoRt, with broadcasting over IPFS
https://ryco117.github.io/distort-server/
GNU General Public License v3.0
3 stars 1 forks source link

Database Rollbacks #9

Open ryco117 opened 5 years ago

ryco117 commented 5 years ago

There are many server functions which require multiple database operations to succeed in order for the function to complete successfully. However, if there is an error after at least one but not all database operations are transacted then the database will be in an inconsistent state, and may be nontrivial (from users perspective) to resolve.