Start replication to paired servers on desktopcouch startup
Bug #416581 reported by
Stuart Langridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
High
|
Chad Miller |
Bug Description
On desktopcouch startup, it should:
1. look for a database called "management"
2. look in that for records defining a paired server (record type and schema not quite defined)
3. look in that database for a record defining the database replication exclusion list (record type and schema not quite defined)
4. for each paired server: send an authenticated continuous replication request to desktopcouch for every database that is not in the exclusion list and is not "management"
This will make replication happen.
Related branches
lp://staging/~cmiller/desktopcouch/replicate-to-u1
- Stuart Langridge (community): Approve
- Chad Miller (community): Abstain
- dobey (community): Needs Resubmitting
- Joshua Blount (community): Approve
- Diff: None lines
Changed in desktopcouch: | |
assignee: | nobody → Stuart Langridge (sil) |
Changed in desktopcouch: | |
status: | New → Triaged |
Changed in desktopcouch: | |
assignee: | Stuart Langridge (sil) → Chad Miller (cmiller) |
importance: | Undecided → High |
status: | Triaged → In Progress |
tags: | added: cmiller-k-alpha6 |
Changed in desktopcouch: | |
milestone: | none → w21-karmic-alpha6 |
Changed in desktopcouch: | |
status: | In Progress → Fix Committed |
Changed in desktopcouch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Exclusion list should be a MergeableSet listing database names.
Paired server record should define: name_prefix: string, a prefix to add to DB names when replicating to this server
server: a server name or IP address (name for preference, .local names for machines on the lan)
oauth: {
consumer_key: string,
consumer_secret: string,
token: string,
token_secret: string
}
database_