func Close() error { // TODO -- any kind of cleanup necessary. storage.Close() return nil }
// CloseReopenTest forces close and then reopening of the datastore, useful for testing // persistence. We only allow close/reopen when all tests not avaiting close/reopen are finished. func CloseReopenTest() { dvid.Infof("Closing test datastore for reopen test...\n") storage.Close() dvid.Infof("Reopening test datastore...\n") openStore(false) }