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

bug: floyd atomic operation problem under multi-key command #2363

Closed
Mixficsol opened this issue Jan 31, 2024 · 0 comments
Closed

bug: floyd atomic operation problem under multi-key command #2363

Mixficsol opened this issue Jan 31, 2024 · 0 comments
Labels
☢️ Bug Something isn't working

Comments

@Mixficsol
Copy link
Collaborator

Is this a regression?

Yes

Description

Description

Floyd 采用多 RocksDB 实例,每个 Key 可能 Hash 到不同的 RocksDB 实例,与 BlackWidow 不同的是 Floyd 下的 Key 不再以数据类型去区分 RocksDB, 即一个 RocksDB 下可能会存在不同类型的 Key,那么对于 Redis 命令中如:SInter 这种操作多个 Key 的情况下,需要重新设计下确保操作的一致性,对 BlackWidow 来说对于 Sinter 这种命令,由于所有的 Set 类型都在同一个 RocksDB 下,所以对于 SInter 这种读命令不需要进行上 key 锁,只需要在相应的 RocksDB 打一个快照然后进行操作即可,但是在 Floyd 下,多个 Key 可能存在多个 RocksDB 下,对于这种问题我们需要一种解决方式。

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

images

Please provide the version you discovered this bug in (check about page for version information)

No response

Anything else?

No response

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

No branches or pull requests

1 participant