From f08630b914f0bbc807f8d8bcfe3b5e914371c59d Mon Sep 17 00:00:00 2001 From: Andrew Kryczka Date: Fri, 10 Apr 2020 10:43:38 -0700 Subject: [PATCH] explicitly mark backup interfaces non-extensible (#6654) Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/6654 Reviewed By: cheng-chang Differential Revision: D20878094 Pulled By: ajkr fbshipit-source-id: 94d2561bdb6ffb7fe3773ca07d475337600a5b57 --- include/rocksdb/utilities/backupable_db.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/rocksdb/utilities/backupable_db.h b/include/rocksdb/utilities/backupable_db.h index eea9ea2de..89a8a9d5a 100644 --- a/include/rocksdb/utilities/backupable_db.h +++ b/include/rocksdb/utilities/backupable_db.h @@ -223,6 +223,7 @@ class BackupStatistics { // A backup engine for accessing information about backups and restoring from // them. +// BackupEngineReadOnly is not extensible. class BackupEngineReadOnly { public: virtual ~BackupEngineReadOnly() {} @@ -286,6 +287,7 @@ class BackupEngineReadOnly { }; // A backup engine for creating new backups. +// BackupEngine is not extensible. class BackupEngine { public: virtual ~BackupEngine() {}