Skip to content

ReactiveCouchbaseTemplate can overwrite PseudoArgs under heavy concurrency. #1684

Closed
@SkyAndyToone

Description

@SkyAndyToone

When DynamicProxyable repositories are used in heavily concurrent environments, the ReactiveCouchbaseTemplate can overwrite the PseudoArgs object, resulting in null scope, collection and options values. This causes queries to fail unpredictably.

Whilst this is hard to demonstrate, I'm sending a PR that tests for the issue, and a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions