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

Transaction client should not retry startShort() if an invalid timeout is given

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0-incubating, 0.10.0-incubating
    • 0.10.0-incubating
    • client
    • None

    Description

      Currently, if an invalid timeout (negative, or too long) is given, the Tx manager throws an IllegalArgumentException. The thrift client will catch that and apply the retry strategy. However, in this case, retry is pointless, and if the strategy is, for example, exponential backoff, if introduces unneccessary load and latency.

      The service should instead throw a meaningful exception for that, so that the client knows not to retry.

      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: