Replies: 5 comments
-
A brief design proposal
|
Beta Was this translation helpful? Give feedback.
-
As we discussed offline, it's better to create an dedicated tool to do this, which could be built on top of juicefs gateway and library for object storages. |
Beta Was this translation helpful? Give feedback.
-
A summary of discussion. The proposal above based on fallback reading doesn't support rollback during the migration. In case of any API compatibility issues, it won't be easy to switch back to source. A more practical design might be double write to source and target and sync the existing objects in background. Switch service to target when no more diff is detected during a full sync or several. Continue double write after switch for a period until all services becomes stable. We may rollback to source anytime before the stopping double write. |
Beta Was this translation helpful? Give feedback.
-
Brief execution plan Proxy: switch writer to proxy for double write, , revert writer back to source on failure. Could you help review? @davies |
Beta Was this translation helpful? Give feedback.
-
What would you like to be added:
Import data from s3 storage without service interruption
Why is this needed:
We have PBs data stored in QingStor and need to move to swift. It would take a long time for such scale and pretty challenging as services are continuously updating the data.
QingStor does provide a tool to migrate data in but not out apparently. I wonder if we can implement such feature in juicefs s3 gateway to seamlessly migrate data from object storage without any service downtime.
Beta Was this translation helpful? Give feedback.
All reactions