-
Notifications
You must be signed in to change notification settings - Fork 468
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
slot migrate not support json type #2583
Comments
@Genuineh will support this at the next release. |
For slot migration, maybe you can try to set migrate-type to raw-key-value to make it work on any datatype. Line 582 in f2c4233
Although for kvrocks2redis we still need to do the supporting work. |
@PragmaTwice @git-hulk Thanks, slot migration work well on raw-key-value mode. By the way, the company I am in has a strong intention to use a database with a kv structure based on rocksdb to replace databases such as mongodb to store a large amount of business data. However, formal businesses often have various analysis or other needs, and these needs are usually handled by some specialized databases. At present, kvrocks may only temporarily provide migration to redis, which is not very friendly for those with such business needs. The current structure has a not-low learning cost for expansion. If the community needs to do a large amount of adaptation for different databases, it is a huge project. If a standard scheme that users can quickly expand can be provided, these tasks don't need to be done and users' different needs can be met. For a simple scheme, for example, it can directly connect to raw-key-value. Users only need to rewrite a writer and a checker. |
@Genuineh I got your point. It would be great to add a layer to separate the change event and from the target writer. |
Search before asking
Version
v2.9.0
Minimal reproduce step
1、start slot migrate with json type data
What did you expect to see?
slot migrate work well on json data type
What did you see instead?
not working
Anything Else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: