we are using Percona 5.7.16-10 server. I would like to expand current solution with XtraDB cluster. So meanwhile I created other machines and started cluster (running on 5.7.17-11-57 Percona XtraDB Cluster version) and I did some testing there (everything seems to be working fine). Now I would like to dump current database from running server and insert it into cluster. There is no problem to stop the cluster (since it is for testing). But when I create mysqldump as I was used to, I'm not able to insert it into cluster because of pcx_strict_mode (info here) - with enforcing Percona-XtraDB-Cluster prohibits use of LOCK TABLE/FLUSH TABLE <table> WITH READ LOCK with pxc_strict_mode = ENFORCING
because the mysqldump creates script which contains table lock which is prohibited. So I've tested several more options, like MASTER which should don't check this rule, but it didn't help, because the insert query from the dump get stuck and nothing is happening.
Is there any mysqldump option to avoid table locking queries, or do I have to restore it somehow via XtraBackup and use XtraBackup for current running server?
I've read several topics here, but didn't match anyone with the same issue. Everyone is solving how to restore cluster from some fail, not from the scratch.
I will be glad for any suggestion for mysqldump or what is proper way to "insert" old database into cluster.