Skip to content

Infinite loop when handle transaction error #4

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions