"dmedia" in exclude_names but old records synced back from UbuntuOne
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch (Ubuntu) |
New
|
Undecided
|
Chad Miller |
Bug Description
Binary package hint: desktopcouch
In my dmedia development I often delete my dmedia database to run a manual test from a clean starting point. Stuart Langridge told me about the "exclude_names" trick to prevent a database from being synced with Ubuntu One. This seemed to work fine for a while, but the past week or so I noticed old dmedia records getting synced back from Ubuntu One.
It's easy for me to spot old dmedia records because the _id was formally a sha224.hexdigest() like this:
"_id": "a7b4e4b5c0007d
And now the _id is a base32-encoded sha1 hash, like this:
"_id": "23WRPNDGZ2ZVOU
This is the paired_server record:
{
"_id": "d0e038981d4b4c
"_rev": "11-a72869c9724
"push_
"ctime": "2010-06-15 16:37",
"record_type": "http://
"service_name": "ubuntuone",
"pairing_
"excluded_
"_order": [
],
},
"pull_
}
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: desktopcouch 0.6.9b-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-24-generic x86_64
Architecture: amd64
CheckboxSubmission: fdbdfcded0c0bb4
CheckboxSystem: edda5d4f616ca79
Date: Tue Dec 14 15:25:14 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: desktopcouch
Looking in .cache/ desktop- couch/log/ desktop- couch-replicati on.log, it seems that the dmedia DB is being replicated despite being in excluded_names:
2010-12-12 00:04:56,914 DEBUG want to replipull 'dmedia' from static host '40f6173e- 75ae-41d4- 9bbe-05ecd24f96 00' @ couchdb. one.ubuntu. com