Skip to content

Chunks not cleaned when removing a file #80

Open
@zedtux

Description

@zedtux

I have already opened the issue carrierwaveuploader/carrierwave-mongoid#205 where I explain that when deleting a model which has a mounter using the :grid_fs storage engine, the GridFs::File is well destroyed, but the belonging GridFs::Chunk aren't, even do I found the has_many :chunks, ..., dependent: :destroy, ... line in this gem.

I have checked the tests from this gem and I couldn't find one which ensures the chunks are cleaned.

Does anyone had that issue already ?

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