Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable ignore_unknown_options only for lower version #256

Merged
merged 2 commits into from
Sep 17, 2021

Conversation

tabokie
Copy link
Member

@tabokie tabokie commented Aug 31, 2021

Signed-off-by: tabokie xy.tao@outlook.com

Only enable force option check when reading options file from lower version.

Signed-off-by: tabokie <xy.tao@outlook.com>
Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Though we still can't downgrade to lower version for previous version

@tabokie
Copy link
Member Author

tabokie commented Sep 2, 2021

LGTM. Though we still can't downgrade to lower version for previous version

It seem unsolvable for older releases, we can only make sure 5.2 can rollback to upcoming minor versions of 5.0 and 5.1, and then rollback to older releases because Options file will be updated without unrecognized items.

I'll also revert the disable-write-stall config for 5.0 and 5.1 later.

@yiwu-arbug
Copy link
Collaborator

Shall we ignore unknown options only when current version is no less than the previous version, same as what #258 did?

Signed-off-by: tabokie <xy.tao@outlook.com>
@tabokie tabokie changed the title use ignore_unknown_options regardless of RocksDB version disable ignore_unknown_options only for lower version Sep 3, 2021
Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tabokie tabokie merged commit f236fe4 into tikv:6.4.tikv Sep 17, 2021
@tabokie tabokie deleted the less-check branch September 17, 2021 07:33
tabokie added a commit to tabokie/rocksdb that referenced this pull request Sep 17, 2021
Only enable force option check when reading options file from lower version.

Signed-off-by: tabokie <xy.tao@outlook.com>
tabokie added a commit that referenced this pull request Sep 18, 2021
Only enable force option check when reading options file from lower version.

Signed-off-by: tabokie <xy.tao@outlook.com>
@tabokie tabokie mentioned this pull request May 9, 2022
39 tasks
tabokie added a commit to tabokie/rocksdb that referenced this pull request May 12, 2022
Only enable force option check when reading options file from lower version.

Signed-off-by: tabokie <xy.tao@outlook.com>
tabokie added a commit that referenced this pull request May 12, 2022
Only enable force option check when reading options file from lower version.

Signed-off-by: tabokie <xy.tao@outlook.com>
tabokie added a commit to tabokie/rocksdb that referenced this pull request May 25, 2022
Only enable force option check when reading options file from lower version.

Signed-off-by: tabokie <xy.tao@outlook.com>
tabokie added a commit to tabokie/rocksdb that referenced this pull request May 25, 2022
Only enable force option check when reading options file from lower version.

Signed-off-by: tabokie <xy.tao@outlook.com>
tabokie added a commit to tabokie/rocksdb that referenced this pull request May 25, 2022
Only enable force option check when reading options file from lower version.

Signed-off-by: tabokie <xy.tao@outlook.com>
tabokie added a commit to tabokie/rocksdb that referenced this pull request May 26, 2022
…)"

This reverts commit a06cd61.

Signed-off-by: tabokie <xy.tao@outlook.com>
tabokie added a commit to tabokie/rocksdb that referenced this pull request Jun 2, 2022
…)"

This reverts commit c92ff87.

Signed-off-by: tabokie <xy.tao@outlook.com>
tabokie added a commit that referenced this pull request Jun 6, 2022
* disable ignore_unknown_options only for lower version (#256)

Only enable force option check when reading options file from lower version.

Signed-off-by: tabokie <xy.tao@outlook.com>

* fix CreateDBStatistics visibility issue

Signed-off-by: tabokie <xy.tao@outlook.com>

* remove blob index access during compaction

Signed-off-by: tabokie <xy.tao@outlook.com>

* fix build issues

Signed-off-by: tabokie <xy.tao@outlook.com>

* restore check but tolerate failure

Signed-off-by: tabokie <xy.tao@outlook.com>

* panic when calling BlobIndex::DecodeFrom

Signed-off-by: tabokie <xy.tao@outlook.com>

* Revert "disable ignore_unknown_options only for lower version (#256)"

This reverts commit a06cd61.

Signed-off-by: tabokie <xy.tao@outlook.com>

* Revert "panic when calling BlobIndex::DecodeFrom"

This reverts commit 53f6fb0.

Signed-off-by: tabokie <xy.tao@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants