Changeset b04ba1e

Timestamp:
06/14/26 20:05:11 (2 days ago)
Author:
Vasilaki Totsili <vasilaki@…>
Branches:
nextjs
Parents:
95953b2
Message:

refactor: implement transaction management for db operations

Replaced single transaction operations with transaction blocks for
critical database mutations to ensure atomicity and consistency,
preventing race conditions and ensuring that operations like checking
for existing records and subsequent inserts or updates are atomic:

  • Implement transactional blocks for addTag, updateProfile and register functions to handle duplicate checks and data insertion/updating in a single transaction scope
  • Handle specific error messages in a more controlled manner by checking exception types and messages
(No files)

Note: See TracChangeset for help on using the changeset viewer.