* @throws IOException if it has difficulty removing the log files
*/
void destroy() throws IOException {
// Prep all the sub-stores to be destroyed
for (Iterator i = subStores.iterator(); i.hasNext(); ) {
SubStore subStore = (SubStore) i.next();
subStore.prepareDestroy();
}
if (log != null) {
log.deletePersistentStore();
FileSystem.destroy(storeLocation, true);
}