final int clusters = NUM_CLUSTER_NODES;
LOG.debug(
"Adding a total of {} nodes evely spread across cluster. Loop: {}, Count: {}, Cluster nodes: {}",
new Object[] { loop * count * clusters, loop, count, clusters });
for (int i = 1; i <= clusters; i++) {
<BUG>DocumentMK mk = new DocumentMK.Builder()

.memoryCacheSize(CACHE_SIZE)

.setMongoDB(createConnection().getDB())

.setClusterId(i).open();
mks.add(mk);</BUG>
}

final int clusters = NUM_CLUSTER_NODES;
LOG.debug(
"Adding a total of {} nodes evely spread across cluster. Loop: {}, Count: {}, Cluster nodes: {}",
new Object[] { loop * count * clusters, loop, count, clusters });
for (int i = 1; i <= clusters; i++) {
DocumentMK mk = new DocumentMK.Builder().
memoryCacheSize(CACHE_SIZE).
setPersistentCache("target/persistentCache,time").
setMongoDB(createConnection().getDB()).
setClusterId(i).
open();
mks.add(mk);
}
