Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-8310

[C++] Minio's exceptions not recognized by IsConnectError()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.16.0
    • 0.17.0
    • C++

    Description

      Minio emits an XMinioServerNotInitialized exception on failure to connect, which is recognized by ConnectRetryStrategy and used to trigger a retry instead of an error. This exception has an HTTP error 503.

      However this code does not round trip through the AWS SDK, which maintains an explicit mapping from known exception names to error codes and will demote an unrecognized exception name to CoreErrors::UNKNOWN

      The end result is flakiness in the test (and therefore CI) since ConnectRetryStrategy never gets a chance to operate, see for example https://github.com/apache/arrow/pull/6789/checks?check_run_id=552871444#step:6:1778

      Probably IsConnectError will need to examine the error string in the event of CoreErrors::UNKNOWN.

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              bkietz Ben Kietzman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m