Skip to content

Cache pollution on rollback — load-bearing bug #653

@nathan-nguyen-mfv

Description

@nathan-nguyen-mfv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions