RoutingStrategy router = new RoutingStrategyFactory().updateRoutingStrategy(storeDef,
cluster);
File outputDir = TestUtils.createTempDir(baseDir);
JsonStoreBuilder storeBuilder = new JsonStoreBuilder(reader,
cluster,
storeDef,
router,
outputDir,
null,
testEntries.size() / 5,
1,
NUM_RO_CHUNKS_PER_BUCKET,
10000,
false);
storeBuilder.build(ReadOnlyStorageFormat.READONLY_V2);
AdminStoreSwapper swapper = new AdminStoreSwapper(cluster,
Executors.newFixedThreadPool(cluster.getNumberOfNodes()),
adminClient,
100000);