Skip to content

gc: Completely silent while removing files from remote. #8721

Open
@daavoo

Description

@daavoo

When removing files from remote storage, DVC stops displaying any updates (no progress bar or log messages).

As described in #5961 (comment) , the actual removal of files can take a while and we just don't inform the user of what's happening.

See the attached video where the silence starts.

gc.mp4

The next debug log message comes after completion, which for the linked reproduction (only 100 files) means >2 minutes without displaying anything (the silent time grows linearly with the number of files).


The issue comes from https://github.com/iterative/dvc-data/blob/main/src/dvc_data/hashfile/gc.py#L28 but I preferred to track it here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: gcRelated go garbage collectionbugDid we break something?p2-mediumMedium priority, should be done, but less importantuiuser interface / interaction

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions