Add the default WritableFile::GetFileSize implementation back for com… (#11927)

Summary:
As mentioned in https://github.com/facebook/rocksdb/issues/11726, we should defer user feasible API changes to major release.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11927

Reviewed By: anand1976

Differential Revision: D50016723

Pulled By: jowlyzhang

fbshipit-source-id: 59781442602fadb9906e37aad2021e3178723db5
This commit is contained in:
Yu Zhang 2023-10-06 10:34:44 -07:00 committed by Facebook GitHub Bot
parent 1d5bddbc58
commit 2dc63c8911
1 changed files with 1 additions and 1 deletions

View File

@ -1001,7 +1001,7 @@ class WritableFile {
/*
* Get the size of valid data in the file.
*/
virtual uint64_t GetFileSize() = 0;
virtual uint64_t GetFileSize() { return 0; };
/*
* Get and set the default pre-allocation block size for writes to