Skip to content

Infinite loop when handle transaction error #4

@asheswook

Description

@asheswook

This has possibility of infinite loop when handle transaction error handleTxnError().

A transaction must be canceled if some error occurs, for exactly-once. In my opinion, it would be better to delay processing (time.Sleep) or log if cross the attempt threshold in a loop. (actually my suggestion is another business feature)

ref: #3 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions