Uploaded image for project: 'Phoenix Tephra'
  1. Phoenix Tephra
  2. TEPHRA-188

There should be a way to limit the transaction timeout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0-incubating
    • 0.10.0-incubating
    • api, manager
    • None

    Description

      When clients start a transaction, they can give a custom timeout for the transaction. If a client uses a really long timeout, then crashes and never commits or invalidates, then this will remain an active transaction forever. In some use cases, it is therefore desirable to impose a system-wide limit on that timeout.

      I am proposing to add a new property data.tx.max.timeout to the configuration. This can be optional, but if set, it limits the custom transaction timeout for startShort(int timeout).

      Attachments

        Issue Links

          Activity

            People

              anew Andreas Neumann
              anew Andreas Neumann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: