summaryrefslogtreecommitdiff
path: root/db/db_impl/db_impl.h
diff options
context:
space:
mode:
authorYu Zhang <yuzhangyu@fb.com>2024-02-13 18:36:25 -0800
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>2024-02-13 18:36:25 -0800
commit4bea83aa44cc299def0639eba2320f1eeed6febf (patch)
treeda4c5d0e16e9d271b6dbe5b8f8f12ba0b9b4a425 /db/db_impl/db_impl.h
parent8c7c0a38f137d17cb4bce4e2a1baf78c8b944c61 (diff)
Remove the force mode for EnableFileDeletions API (#12337)
Summary: There is no strong reason for user to need this mode while on the other hand, its behavior is destructive. Pull Request resolved: https://github.com/facebook/rocksdb/pull/12337 Reviewed By: hx235 Differential Revision: D53630393 Pulled By: jowlyzhang fbshipit-source-id: ce94b537258102cd98f89aa4090025663664dd78
Diffstat (limited to 'db/db_impl/db_impl.h')
-rw-r--r--db/db_impl/db_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/db_impl/db_impl.h b/db/db_impl/db_impl.h
index efeffae5a..1601129cd 100644
--- a/db/db_impl/db_impl.h
+++ b/db/db_impl/db_impl.h
@@ -498,7 +498,7 @@ class DBImpl : public DB {
Status DisableFileDeletions() override;
- Status EnableFileDeletions(bool force) override;
+ Status EnableFileDeletions() override;
virtual bool IsFileDeletionsEnabled() const;