Skip to content

[Bug]: Very slow backup without any change (regression from v1.1.3 against v1.0.6) #2250

Description

@flibustenet

Describe the bug

v1.1.3
and
plakar/v1.2.0-devel.26ac123046f19593d66e44329ccf33c5925d5784

On a new S3 repository, the first shot is very fast, 2:01.
The second and others are very slow 20:21 even when there is no change on the source data.

$ time plakar at @scw backup ~/projects/
[02:01] 673fd0f7 completed                                                       13 GiB
********************************************************************************** 100%
        import: nodes=37500/37500, objects=204891/204891
         store: read=0 B, write=8.5 GiB

real	2m2,814s
user	6m41,849s
sys	1m28,069s

$ time plakar at @scw backup ~/projects/
[20:21] 01a03c90 completed                                                       13 GiB
********************************************************************************** 100%
        import: nodes=37500/37500, objects=204891/204891
         store: read=56 MiB, write=568 KiB

real	20m41,662s
user	3m53,357s
sys	0m47,574s

It was discussed on Discord, I put here to track.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions