desktopcouch replication and org.desktopcouch.CouchDB.service are NOT started on desktopcouch.records calls

Bug #519028 reported by Roman Yepishev on 2010-02-08
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
desktopcouch
High
Chad Miller
desktopcouch (Ubuntu)
High
Chad Miller
ubuntuone-client (Ubuntu)
Undecided
Unassigned

Bug Description

When CouchDatabase object is created in /usr/lib/ubuntuone/ubuntuone-login then desktopcouch starts couchdb process
However, neither replication nor dbus service to advertise the port is started.

This is happening because the replication process and dbus service to advertise the port are created in /usr/lib/desktopcouch/desktopcouch-service, which is bypassed by desktopcouch.records.

<aquarius> CardinalFang, desktopcouch.records sneakily avoids doing that by knowing how to call DC directly, but it isn't supposed to.
<aquarius> Also, this may explain why some people don't have replication happen.
<rye> aquarius, those who have don't have applet set to automatic login
<aquarius> *nod*
<rye> aquarius, the replication is started via e.g. evolution calling dbus method to find the port, etc.

Related branches

Roman Yepishev (rye) on 2010-02-08
Changed in desktopcouch:
status: New → Confirmed
importance: Undecided → High
summary: desktopcouch replication and org.desktopcouch.CouchDB.service are NOT
- started on desktopcouch.records call
+ started on desktopcouch.records calls
Chad Miller (cmiller) on 2010-02-08
Changed in desktopcouch:
assignee: nobody → Chad Miller (cmiller)
Ken VanDine (ken-vandine) wrote :

Ideally I think ubuntuone-client should ensure desktopcouch replication starts before syncdaemon, giving it a head start. Perhaps even make syncdaemon wait until the first desktopcouch sync is done. This shouldn't take too long, but sharing bandwidth when you are downloading a lot of data could really hurt the user experence for apps that depend on that data from desktopcouch.

Roman Yepishev (rye) on 2010-05-27
Changed in desktopcouch (Ubuntu):
assignee: nobody → Chad Miller (cmiller)
status: New → Confirmed
importance: Undecided → High
Roman Yepishev (rye) on 2010-05-27
Changed in ubuntuone-client (Ubuntu):
status: New → Triaged
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Chad Miller (cmiller) on 2010-11-01
Changed in desktopcouch:
milestone: none → 1.0
Chad Miller (cmiller) on 2010-11-17
Changed in desktopcouch:
status: Confirmed → In Progress
Changed in desktopcouch (Ubuntu):
status: Confirmed → In Progress
milestone: none → natty-alpha-1
Changed in desktopcouch:
status: In Progress → Fix Committed
Changed in desktopcouch (Ubuntu):
milestone: natty-alpha-1 → natty-alpha-2
dobey (dobey) on 2011-01-20
Changed in desktopcouch:
status: Fix Committed → Fix Released
Changed in desktopcouch (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntuone-client (Ubuntu):
assignee: Ubuntu One Desktop+ team (ubuntuone-desktop+) → nobody
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers