uni icon indicating copy to clipboard operation
uni copied to clipboard

Make database/cache operations ACID

Open limwa opened this issue 1 year ago • 0 comments

Currently, some database/cache operations such as saveNewCourses are not atomic due to the use of await. These operations should be made ACID compliant, either with the use of features provided by the database driver (eg. transactions) or with concurrency control implemented by us (eg. with locks).

Operations not being ACID-compliant can lead to invalid database/cache states.

limwa avatar Feb 07 '24 23:02 limwa