Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLC-415]: add migration prerequisites #425

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion base/commands/migration/migration_start.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,21 @@ func (StartCmd) Exec(ctx context.Context, ec plug.ExecContext) (err error) {
ec.PrintlnUnnecessary(`Hazelcast Data Migration Tool v5.3.0
(c) 2023 Hazelcast, Inc.

Selected data structures in the source cluster will be migrated to the target cluster.
Selected data structures in the source cluster will be migrated to the target cluster.

Prerequisites:

* Only a single migration can be run simultaneously.
* The target cluster must be an enterprise cluster or Viridian cluster.
* At least one data structure name must be provided in the migration configuration file.
* The data structures given in the migration configuration must exist in the source cluster.

Further Information:

* Existing data structures on the target cluster will be skipped.
* It is recommended that the source cluster is put in read-only mode before the migration starts.
* Viridian clusters supports at most 14GB of primal data. If you try to migrate more than that, the failure
is expected. You can consider Viridian Dedicated for larger data migrations.
`)
if !ec.Props().GetBool(clc.FlagAutoYes) {
p := prompt.New(ec.Stdin(), ec.Stdout())
Expand Down
Loading