Support GetFileSize API in FSRandomAccessFile
Summary:
This change is used to address this issue https://github.com/facebook/rocksdb/issues/13619 It supports GetFileSize API in FSRandomAccessFile. This allows ReadFooterFromFile to quickly get the file size for file size validation.
Test Plan: make check
Reviewers: Peter Dillinger
Subscribers:
Tasks:
Tags:
@xingbowang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Also, use unreleased_history/add.sh to add a release note. At this point, the user should care that they have the option to override this new function to make some file metadata queries more efficient. And we could say that this function might be required in the future.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@xingbowang has updated the pull request. You must reimport the pull request before landing.
@xingbowang has imported this pull request. If you are a Meta employee, you can view this in D76168033.
@xingbowang has updated the pull request. You must reimport the pull request before landing.