Skip to content

Commit 45f7473

Browse files
jaykoreananand1976
authored andcommitted
set ignore_unknown_options when parsing options (#13443)
Summary: In case the primary host has a new option added which isn't available in the remote worker yet, the remote compaction currently fails. In most cases, these new options are not relevant to the remote compaction and the worker should be able to move on by ignoring it. Pull Request resolved: #13443 Test Plan: Verified internally in Meta Infra. Reviewed By: anand1976 Differential Revision: D70744359 Pulled By: jaykorean fbshipit-source-id: eb6a388c2358a7f8089f2e35a378b7017b9e03f3
1 parent 884f57c commit 45f7473

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

db/db_impl/db_impl_secondary.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,7 @@ Status DB::OpenAndCompact(
994994
DBOptions db_options;
995995
ConfigOptions config_options;
996996
config_options.env = override_options.env;
997+
config_options.ignore_unknown_options = true;
997998
std::vector<ColumnFamilyDescriptor> all_column_families;
998999

9991000
TEST_SYNC_POINT_CALLBACK(

0 commit comments

Comments
 (0)