Skip to content

Possible data race when use loader.Clear(key).Prime(key, value) to force prime #46

@NateScarlet

Description

@NateScarlet

Lock is released between Clear and Prime
If other goroutine do Load or Prime during this period, the value will be not used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions