Skip to content

Closing the database recreates dropped collections #106

@reboot

Description

@reboot

When a collection is dropped it is not removed from NitriteContext.collectionRegistry. When Nitrite.closeCollections() iterates over all collection names and uses getCollection(name) the collections that have been dropped will automatically be recreated. Also they are then empty they are never actually removed from the store. The same problem probably also exists for Object repositories.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions