Files: business/domain/userbus/stores/usercache/usercache.go
Create/Update/Delete write to that cache before commit. On transaction rollback (e.g., productBus.Create fails after userBus.Create succeeds), the DB row is gone but the cache still holds the row.
Files: business/domain/userbus/stores/usercache/usercache.go
Create/Update/Delete write to that cache before commit. On transaction rollback (e.g., productBus.Create fails after userBus.Create succeeds), the DB row is gone but the cache still holds the row.