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-429]: Change cancel message on dmt start command #431

Merged
merged 4 commits into from
Nov 14, 2023

Conversation

kutluhanmetin
Copy link
Contributor

No description provided.

@kutluhanmetin kutluhanmetin requested review from yuce and srknzl November 10, 2023 09:07
Copy link
Collaborator

@yuce yuce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one thing...

@@ -95,5 +98,6 @@ Selected data structures in the source cluster will be migrated to the target cl
}

func init() {
cmd.SetCancelMsg(" (Ctrl+C to exit) ")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to put this at the start of Exec, so it doesn't affect other commands.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kutluhanmetin kutluhanmetin requested a review from yuce November 13, 2023 08:16
Copy link
Collaborator

@yuce yuce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One idea only...

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.

(Pressing CTRL+C does not cancel the migration progress)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(Pressing CTRL+C does not cancel the migration progress)
Exiting the application does not affect the migration progress.
In order to cancel the migration, use the 'cancel' command.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kutluhanmetin kutluhanmetin requested a review from yuce November 13, 2023 09:00
# Conflicts:
#	base/commands/migration/migration_start.go
@kutluhanmetin kutluhanmetin merged commit 0311870 into hazelcast:dmt Nov 14, 2023
5 checks passed
@degerhz degerhz added this to the Data Migration Tool [Phase 1] milestone Nov 15, 2023
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.

4 participants