Comments (6)
Hi, i'm interested in this issue, could you please assign this to me?
from kvrocks.
@wsehjk Assigned. Go ahead :D
Based on my experience, you can share your opinion on this issue and how you'd like to implement it. If it's trivial, directly sending a patch is good.
Barely asking for an assignment without any thoughts or progress attempts often ends with giving up.
from kvrocks.
@caipengbo Would you mind giving some input about what you plan to improve?
from kvrocks.
@git-hulk This is my personal opinion for reference only:
- decouple the iteration logic from the send logic:
- use
DBIterator
andWALIterator
for data iteration - use a
Sender
helper class for sending data and rate limit
- use
- Make the two migration types more uniform
- Refactor Golang unit tests about data migration to make them more concise and faster to run
- Other minor change:
MigrationJob
stores what is really needed- ...
As @tisonkun said, you can also share some of your plans and we can discuss them together @wsehjk .
from kvrocks.
@caipengbo Thanks for your input.
from kvrocks.
@git-hulk This is my personal opinion for reference only:
decouple the iteration logic from the send logic:
- use
DBIterator
andWALIterator
for data iteration- use a
Sender
helper class for sending data and rate limitMake the two migration types more uniform
Refactor Golang unit tests about data migration to make them more concise and faster to run
Other minor change:
MigrationJob
stores what is really needed- ...
As @tisonkun said, you can also share some of your plans and we can discuss them together @wsehjk .
Thank you for the info, really helpful, and i will walk through the code and share my thought before developing
from kvrocks.
Related Issues (20)
- SonarCloud analysis run on unstable branch has wrong `New issues` num HOT 2
- Add RESP3 attribute type
- Tracking Issues: Add support of RediSearch
- Add search metadata and tag field metadata encoding for RediSearch
- kvrocks' BITCOUNT result is different from Redis HOT 13
- Add encoding design for numeric type index HOT 1
- Proposal: A unified query intermediate representation for RediSearch and SQL HOT 1
- Command SRANDMEMBER returns empty array when [count] is a negative number HOT 6
- proposal: add the default pull request template HOT 2
- Extract a bit_util for "BIT*" Commands
- Use redis-command data migration type when the destination does not support ApplyBatch command
- Disable the slot compaction while the cluster slot is migrating
- BITPOS command in Bitmap type didn't handle `stop_given`
- [CI] TestKeyspace.Type_a_expired_key failed
- Support namespace in Pub/Sub commands HOT 1
- ci: Update CentOS 7 in stage: build-and-test-in-container HOT 4
- Create stream consumer group will make the xread command error HOT 2
- BloomFilter support migration HOT 1
- "RDB LOAD" command fails HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kvrocks.