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

Add a get object size method in S3Connection and implement file handle and file system size

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.0.0, 5.3.0-rc1, 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 3
    • Storage - Ra 2022-02-21

      • Create a function in S3Connection.cpp class that gets the object size in bytes.
      • Implement fs_size that gets the file size from the get object size functionality in S3Connection.cpp and returns the size in bytes. 
      • Implement the fh_size in WiredTiger's native file handle that gets the size of a file in byes by the file handle. 
      • Test all functionalities through unit testing.
      • Add relevant statistics.

            Assignee:
            ruby.chen@mongodb.com Ruby Chen
            Reporter:
            ruby.chen@mongodb.com Ruby Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: