Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1316

Better control over retried operations in Avatica client

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: avatica-1.19.0
    • Component/s: avatica
    • Labels:
      None

      Description

      We have at least two places in the Avatica client now where we will try to re-issue "RPCs" in the attempt to work seamlessly with load-balanced servers.

      Between these two places, we have finite retries, infinite retries and no standardized back-off strategies. We should try to centralize this into one place and make sure that users can override the logic, heaven forbid they come up with some situation where it's necessary.

      Need to investigate the retry-loops we have in the Avatica client now, categorize the loops and come up with a minimal set of knobs to configure the retries, expose those knobs in the JDBC URL string options, and update the documentation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                elserj Josh Elser
                Reporter:
                elserj Josh Elser
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: