Skip to content

Misleading wasRolledBack method #662

@graineri

Description

@graineri

This only applies to Lettuce 5.x.

Taking a look at TransactionResult interface I noticed there is a wasRolledBack method which I find somewhat misleading since there is no such thing in Redis.

I finally realized the intent of this method once I read TransactionCommandTest: it actually means that the transaction was discarded (this behavior is explained here).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions