Remove deleted flag in favor of moving the record to "trash"
Bug #670699 reported by
Vincenzo Di Somma
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Servers |
Won't Fix
|
High
|
Eric Casteleijn | ||
desktopcouch |
Fix Released
|
High
|
Vincenzo Di Somma | ||
desktopcouch (Ubuntu) |
Fix Released
|
High
|
Vincenzo Di Somma |
Bug Description
Instead of deleting records we are marking as deleted in private application annotation, but we don't want to maintain "deleted" records in the database for ever, it's bad for couchdb both for views performance and coding the views.
What we want to do is move the records to a "trash" database that can be replicated and can offer undo functionalities.
Related branches
lp:~vds/desktopcouch/remove_delete_flag
- John Lenton (community): Approve
- Eric Casteleijn (community): Approve
-
Diff: 316 lines (+81/-49)3 files modifieddesktopcouch/records/server.py (+41/-4)
desktopcouch/records/server_base.py (+12/-13)
desktopcouch/records/tests/test_server.py (+28/-32)
Changed in ubuntuone-servers: | |
status: | New → In Progress |
Changed in desktopcouch: | |
status: | New → In Progress |
Changed in ubuntuone-servers: | |
importance: | Undecided → High |
Changed in desktopcouch: | |
importance: | Undecided → High |
Changed in ubuntuone-servers: | |
assignee: | nobody → Eric Casteleijn (thisfred) |
Changed in desktopcouch: | |
assignee: | nobody → Vincenzo Di Somma (vds) |
Changed in ubuntuone-servers: | |
milestone: | none → post-m-cleanup |
Changed in desktopcouch: | |
milestone: | none → 1.0 |
Changed in desktopcouch: | |
status: | In Progress → Fix Committed |
Changed in desktopcouch (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Vincenzo Di Somma (vds) |
milestone: | none → natty-alpha-1 |
Changed in desktopcouch (Ubuntu): | |
milestone: | natty-alpha-1 → natty-alpha-2 |
Changed in desktopcouch: | |
status: | Fix Committed → Fix Released |
Changed in desktopcouch (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in ubuntuone-servers: | |
status: | In Progress → Won't Fix |
To post a comment you must log in.