Details
-
Task
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Supported migration combinations
Obviously, within 1.x code line - writers, readers, table services all need to co-exist for both table versions (tv) 6 & 8.
Reader 0.x | Reader 1.x tv=6/8 | Table Services 0.x | Table Services 1.x tv=6 | Table Services 1.x tv=8 | |
---|---|---|---|---|---|
Writer 1.x tv=6 | |||||
Writer 1.x tv=8 | |||||
Table Services 1.x tv=6 | |||||
Table Services 1.x tv=8 |
We are making the practical restriction that table services 0.x, need to be stopped first, upgraded to new binary 1.x, before resuming operations even for tv=6 to be able to co-exist with a 1.x tv=6 writer.
Recommended migration steps
- Stop any async table services in 0.x completely.
- Upgrade writers to 1.x with tv=6 (this won't auto-upgrade anything); 0.x readers will continue to work; writers can also be readers and will continue to read both tv=6.
- Upgrade table services to 1.x with tv=6, and resume operations.
- Upgrade all remaining readers to 1.x, with tv=6.
- Redeploy writers with tv=8; table services and readers will adapt/pick up tv=8 on the fly.
Things to be done during rolling upgrade
the 6 to 8 upgrade handler, need to handle the following.
|
Safe migration protocol :
<wip>
Downgrade tooling :
<wip>
Attachments
Issue Links
1.
|
Write archived timeline as LSM timeline | In Progress | Sagar Sumit | |
2.
|
Ensure full compaction before downgrade for unsupported features | In Progress | Sagar Sumit | |
3.
|
Implement LegacyArchivedMetaEntryWriter to rewrite archived timeline | Closed | Unassigned | |
4.
|
Handle upgrade downgrade with cluster action type for pending clustering instants | In Progress | Sagar Sumit | |
5.
|
Change the location of tv=8 timeline to .hoodie/timeline | Closed | Balaji Varadarajan | |
6.
|
Consider changing MT upgrade as a recursive upgrade of another table | In Progress | Sagar Sumit | |
7.
|
Handle avro/json serde for commit metadata content | Closed | Unassigned | |
8.
|
Handle log file marker | In Progress | Sagar Sumit |