desktopcouch can start multiple times leading to several running couchdbs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
High
|
Chad Miller | ||
0.6-stable |
Fix Committed
|
High
|
Chad Miller | ||
desktopcouch (Ubuntu) |
Fix Released
|
High
|
Chad Miller | ||
Lucid |
Fix Released
|
High
|
GRADY A.SMITH |
Bug Description
ubuntuone-
Both processes will interact with couchdb upon receiving of the signal, the first one will read replication exclusion, the latter will put a pairing record to the db.
It turns out that they are running so head-to-head that they initialize 2 desktopcouches. Desktopcouch checks the pid and if it is not there it will start the couchdb, however, since there are 2 simultaneous calls both processes start their own couchdb. Eventually only one pid will be written to the file, and only one couchdb will be contacted (because of dbus response being returned only by one desktopcouch instance)
This bug prevents CouchDB pairing with Ubuntu One from working consistently, which prevents users from syncing contacts and bookmarks in Lucid with CouchDB from backports installed.
TEST CASE:
1. Ensure that no couchdb and desktopcouch-
1.1 /usr/lib/
1.2 killall desktopcouch-
1.3 killall beam
1.4 killall beam.smp
2. Ensure that ubuntuone-
3. Open ubuntuone-
4. Run sudo netstat -lntp | grep beam, there should be only one process with beam / beam.smp
5. Verify that there is only one "Apache CouchDB has started on http://
Related branches
- Ubuntu Stable Release Updates Team: Pending requested
- Ubuntu Development Team: Pending requested
-
Diff: 85 lines (+73/-0)2 files modifieddebian/changelog (+7/-0)
debian/patches/lp_726597.patch (+66/-0)
Changed in desktopcouch: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Roman Yepishev (rye) |
Changed in desktopcouch (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Roman Yepishev (rye) |
tags: | added: desktop+ support |
description: | updated |
description: | updated |
Changed in desktopcouch (Ubuntu Lucid): | |
importance: | Undecided → High |
status: | New → In Progress |
description: | updated |
Changed in desktopcouch (Ubuntu Lucid): | |
status: | In Progress → New |
Changed in desktopcouch (Ubuntu Lucid): | |
status: | New → Fix Committed |
Changed in desktopcouch: | |
status: | In Progress → Fix Released |
Changed in desktopcouch (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in desktopcouch: | |
assignee: | Roman Yepishev (rye) → Chad Miller (cmiller) |
Changed in desktopcouch (Ubuntu): | |
assignee: | Roman Yepishev (rye) → Chad Miller (cmiller) |
Changed in desktopcouch (Ubuntu Lucid): | |
assignee: | nobody → GRADY A.SMITH (gradysmith8712) |
tags: | added: testcase |
APPROVED: the package uploaded to lucid-proposed should be accepted.