Details
Description
In the constructor:
readGeneration = generations.size() > 1 ? generations.first() : -1; writeGeneration = generations.size() > 0 ? generations.last() : 0; if (readGeneration >= 0) { readStore = createMapFactory(readGeneration, true); } writeStore = createMapFactory(writeGeneration, false); initBroadcast(broadcast);
...so if createMapFactory fails for writeStore, readStore will not be closed.