Created attachment 745660 [details] migration_delete-only.png Description of problem: Cassandra Migration - delete-only and delete-data options are being ignored during migration Version-Release number of selected component (if applicable): jenkins build 198 How reproducible: always Steps to Reproduce: 1. run migrator jar with the following options : java -jar data-migrator-oracle-4.7.0-SNAPSHOT.jar --cassandra-hosts=migrperfpostgres.bc.jonqe.lab.eng.bos.redhat.com --cassandra-user=rhqadmin --cassandra-password=rhqadmin --cassandra-port=9142 --estimate-only=false --delete-data=true -X --disable-6h-migration=true -X --delete-only=true 2. run migrator jar with the following options: java -jar data-migrator-oracle-4.7.0-SNAPSHOT.jar --cassandra-hosts=migrperfpostgres.bc.jonqe.lab.eng.bos.redhat.com --cassandra-user=rhqadmin --cassandra-password=rhqadmin --cassandra-port=9142 --estimate-only=false --delete-data=true -X --disable-6h-migration=true -X Actual results: for both cases- no data is being removed from sql db for case 1 - migration process starts having --delete-only=true Expected results: for both cases data from sql should be removed for case 1 - no migration should be started Additional info:
Updated the list of arguments for the command also improved the logic for detecting that a delete only was requested. Please retest.
verified. thank you.