Skip to content

fix: Revert "fix version compare error in ZSetsScoreKeyComparatorImpl"#2583

Merged
AlexStocks merged 1 commit into
OpenAtomFoundation:3.5from
wangshao1:bugfix/revert_fix_version_compare
Apr 8, 2024
Merged

fix: Revert "fix version compare error in ZSetsScoreKeyComparatorImpl"#2583
AlexStocks merged 1 commit into
OpenAtomFoundation:3.5from
wangshao1:bugfix/revert_fix_version_compare

Conversation

@wangshao1

Copy link
Copy Markdown
Collaborator

This reverts commit e787eff.

之前发现zsetscorekeycomparatorimpl中直接通过字典序比较version,在小端环境下结果是错误的,提了issue:https://github.com/OpenAtomFoundation/pika/issues/2338,也提了pr修复。
但修复后comparator结果虽然是正确的,但是跟之前不兼容,所以rocksdb在compact时会报错“Compaction sees out-of-order keys.”
所以暂时先回滚该commit,优先保证数据兼容性。

@github-actions github-actions Bot added the ☢️ Bug Something isn't working label Apr 8, 2024
@wangshao1 wangshao1 requested review from AlexStocks and chejinge April 8, 2024 04:30
@baerwang

baerwang commented Apr 8, 2024

Copy link
Copy Markdown
Contributor

看下这个 Operator build ci 为啥失败了

@Issues-translate-bot

Copy link
Copy Markdown

Bot detected the issue body's language is not English, translate it automatically.


Let’s take a look at why this Operator build ci failed.

@wangshao1 wangshao1 force-pushed the bugfix/revert_fix_version_compare branch from 7eaef1a to fd0ef49 Compare April 8, 2024 07:43
@AlexStocks AlexStocks merged commit c918c42 into OpenAtomFoundation:3.5 Apr 8, 2024
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
byseea11 pushed a commit to byseea11/pikiwidb that referenced this pull request Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

☢️ Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants