Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9059

Improve error handling for S3 extension classes

    • 8
    • Storage - Ra 2022-05-02, Storage - Ra 2022-05-16

      Summary
      Update the error handling for the S3 extension classes to return a meaningful error code that can be interpreted by the caller. The S3Connection class, for example, should return errno codes that can be interpreted by the WT_FILE_SYSTEM interface. At present, all S3 class methods return 1 for failure. 

      Motivation

      • Does this affect any team outside of WT? Not at present.
      • How likely is it that this use case or problem will occur? 100%.
      • If the problem does occur, what are the consequences and how severe are they? Not severe at present as there are no consumers of the extension outside our internal testing.
      • Is this issue urgent? No.

      Acceptance Criteria (Definition of Done)

      • S3 class methods are updated to return meaningful error codes. S3 code comments are updated accordingly.

            Assignee:
            sean.watt@mongodb.com Sean Watt
            Reporter:
            tammy.bailey@mongodb.com Tammy Bailey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: