Skip to content

KCL version migration tool support for rollbacking to v2 - #1813

Merged
akidambisrinivasan merged 1 commit into
awslabs:masterfrom
akidambisrinivasan:master
Sep 10, 2026
Merged

akidambisrinivasan merged 1 commit into
awslabs:masterfrom
akidambisrinivasan:master

Conversation

@akidambisrinivasan

Copy link
Copy Markdown
Contributor

For customers doing upgrade to KCLv3.5, they go through KCL v2 -> KCLv3.5 Client Version Phase1 -> KCLv3.5 Client Version Phase2

Phase 2 -> Phase 1 rollback is supported in tool and can be followed by a code rollback.

However Phase 2 creates entries in lease table that is not backward compatible with KCLv2 and so rollback from Phase 2 -> Phase 1 -> KCL v2 required manual cleanup. This tool now supports --rollback-to-v2 mode which performs the cleanup so that the code rollback from Phase 2 -> Phase 1 -> KCL v2 can be safely performed

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@akidambisrinivasan akidambisrinivasan changed the title KCL version migration tool support for rollbacking to v2 mode KCL version migration tool support for rollbacking to v2 Sep 10, 2026
For customers doing upgrade to KCLv3.5, they go through
KCL v2 -> KCLv3.5 Client Version Phase1 -> KCLv3.5 Client Version Phase2

Phase 2 -> Phase 1 rollback is supported in tool and can be
followed by a code rollback.

However Phase 2 creates entries in lease table that is not
backward compatible with KCLv2 and so rollback from Phase 2 -> KCL v2
required manual cleanup. This tool now supports --rollback-to-v2
mode which performs the cleanup so that the code rollback
from Phase 2 -> KCL v2 can be safely performed
@akidambisrinivasan
akidambisrinivasan merged commit 4d46a03 into awslabs:master Sep 10, 2026
5 of 6 checks passed

This branch had an error being deployed

1 failed deployment
manual-approval β€” 91357009 Deployed Sep 10, 2026 by akidambisrinivasan via wait-for-approval #309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants