mirror of
https://github.com/facebook/rocksdb.git
synced 2026-10-24 19:59:35 +03:00
Summary: A reopened writable file's size is not correctly tracked in the `WritableFile`'s internal state. This PR adds a querying to the file system to get the initial file size in the reopen case and use it to populate posix `WritableFile`'s internal state. Pull Request resolved: https://github.com/facebook/rocksdb/pull/13534 Reviewed By: anand1976 Differential Revision: D72756628 Pulled By: jowlyzhang fbshipit-source-id: 6f02b5c5da069fe49055d7b75bec9e7e47d5cd71