201202203204205206207208209210211
executor, client, httpTimeoutMs, swapConf.getRollback(), swapConf.getRollback()); swapper.swapStoreData(storeName, dataDir, pushVersion); info("Swap complete."); executor.shutdownNow(); executor.awaitTermination(10, TimeUnit.SECONDS); }
130113021303130413051306130713081309
AdminStoreSwapper swapper = new AdminStoreSwapper(cluster, Executors.newFixedThreadPool(cluster.getNumberOfNodes()), adminClient, 100000); swapper.swapStoreData(testStoreNameRO, outputDir.getAbsolutePath(), 1L); } } }