public class MigrationClientVersionInitState extends Object implements MigrationClientVersionState
CoordinatorConfig.ClientVersionConfig.CLIENT_VERSION_CONFIG_COMPATIBLE_WITH_2X_PHASE1
and no migration state exists in DDB. It is a passive pre-step that ensures code is deployed
fleet-wide before Phase 2 activates migration logic.
This state does not perform any monitoring or trigger transitions. It remains in this state
until the customer deploys with Phase 2 configuration.| Constructor and Description |
|---|
MigrationClientVersionInitState() |
| Modifier and Type | Method and Description |
|---|---|
ClientVersion |
clientVersion()
The associated clientVersion this state corresponds to
|
void |
enter(ClientVersion fromClientVersion)
Enter the state and perform the business logic of being in this state
which includes performing any monitoring that allows the next state
transition and also initializing the KCL based on the ClientVersion.
|
void |
leave()
Invoked after the transition to another state has occurred
to allow printing any helpful logs or performing cleanup.
|
public ClientVersion clientVersion()
MigrationClientVersionStateclientVersion in interface MigrationClientVersionStatepublic void enter(ClientVersion fromClientVersion) throws DependencyException
MigrationClientVersionStateenter in interface MigrationClientVersionStatefromClientVersion - from previous state if any specific action must
be taken based on the state from which this state
is being entered from.DependencyException - if DDB fails in unexpected ways for those states
that create the GSIpublic void leave()
MigrationClientVersionStateleave in interface MigrationClientVersionStateCopyright © 2026. All rights reserved.