service hangs because migration acts as client before service starts
Bug #700129 reported by
Chad Miller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
Critical
|
Chad Miller |
Bug Description
A client wants to access desktop database. It asks for port over DBus. dbus service starts couchdb and will eventually get its port so it can advertise it. but in the process of starting it, the migration code asks for the port over dbus. The dbus service isn't set up yet, so it hangs.
Related branches
lp://qastaging/~cmiller/desktopcouch/migrate-in-service-not-startup
- Martin Albisetti (community): Approve
- Eric Casteleijn (community): Approve
-
Diff: 338 lines (+133/-94)6 files modifieddesktopcouch/application/migration/__init__.py (+67/-1)
desktopcouch/application/platform/linux/__init__.py (+0/-2)
desktopcouch/application/service.py (+38/-21)
desktopcouch/application/start_local_couchdb.py (+1/-69)
desktopcouch/application/tests/test_service.py (+26/-0)
desktopcouch/application/tests/test_start_local_couchdb.py (+1/-1)
Changed in desktopcouch: | |
status: | In Progress → Fix Committed |
Changed in desktopcouch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.