Skip to content

Commit

Permalink
Re-add index_per_partition but as deprecated
Browse files Browse the repository at this point in the history
Summary:
index_per_partition should have deprecated deprecated instead of being removed. It is causing backward compatibility issues.
Closes facebook#2173

Differential Revision: D4910947

Pulled By: maysamyabandeh

fbshipit-source-id: 5c52939381847d232ede6866606f67f2b4b857ae
  • Loading branch information
Maysam Yabandeh authored and facebook-github-bot committed Apr 19, 2017
1 parent 1553659 commit 8e84a38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions options/options_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,9 @@ static std::unordered_map<std::string, OptionTypeInfo>
{"index_block_restart_interval",
{offsetof(struct BlockBasedTableOptions, index_block_restart_interval),
OptionType::kInt, OptionVerificationType::kNormal, false, 0}},
{"index_per_partition",
{0, OptionType::kUInt64T, OptionVerificationType::kDeprecated, false,
0}},
{"metadata_block_size",
{offsetof(struct BlockBasedTableOptions, metadata_block_size),
OptionType::kUInt64T, OptionVerificationType::kNormal, false, 0}},
Expand Down

0 comments on commit 8e84a38

Please sign in to comment.