Skip to content

Collection used by dry-run keeps growing in disk size #9

@kapetan

Description

@kapetan

The _mongopatch_tmp collection keeps growing on the disk, even though it doesn't contain any documents. MongoDB doesn't reclaim the disk space when documents are deleted.

Possible solutions, make the collection a capped collection or drop the collection before running a dry-run.

The repairDatabase command isn't really an option as it locks the whole database while it's running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions