Hi <@U03USK369J5>, regarding <this> issue, what wa...
# general
k
Hi @Zac Policzer, regarding this issue, what was the regex you had in mind to find all of the system stores within a cluster? Thanks! I have this so far:
Copy code
// Check the migration status for all source and destination cluster stores
Pattern systemStorePattern = Pattern.compile(storeName);
Stream<String> allSrcStoreNames = srcControllerClient.getClusterStores(srcClusterName).stream().filter(srcStoreName -> systemStorePattern.matcher(srcStoreName).matches());
Stream<String> allDestStoreNames = destControllerClient.getClusterStores(destClusterName).stream().filter(destStoreName -> systemStorePattern.matcher(destStoreName).matches());

allSrcStoreNames.forEach(srcStorename -> printMigrationStatus(srcControllerClient, srcStorename));
allDestStoreNames.forEach(destStorename -> printMigrationStatus(destControllerClient, destStorename));