Too many calls to list backup contents

Bug #1170696 reported by Sidnei da Silva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
deja-dup (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Seems like duplicity is invoked multiple times for a backup, with --dry-run and whatnot. In the course of that, it does multiple calls to list the contents of the backup folder. For a single incremental backup:

grep -c "https://one.ubuntu.com/api/file_storage/v1/~/deja-dup/sidnei-laptop/?include_children=true" /tmp/duplicity.log
16

I wonder if it makes sense to cache the result of this call at least for a short period on the client side. I will be looking at what we can do on the server-side about it.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: deja-dup 26.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-18.28-generic 3.8.6
Uname: Linux 3.8.0-18-generic x86_64
NonfreeKernelModules: wl nvidia
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Fri Apr 19 10:06:54 2013
InstallationDate: Installed on 2012-09-04 (227 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120901)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: deja-dup
UpgradeStatus: Upgraded to raring on 2012-12-26 (113 days ago)

Revision history for this message
Sidnei da Silva (sidnei) wrote :
Revision history for this message
dino99 (9d9) wrote :

This version has expired

Changed in deja-dup (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.