Allow purging old transaction log entries
Bug #1000726 reported by
John A Meinel
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
U1DB |
Confirmed
|
Medium
|
Unassigned |
Bug Description
We want to avoid having any data that must be maintained forever that is not going to be actively used.
One of the O(history) tables today is the transaction_log table. It should be possible to remove old entries, and if a client connects and tries to sync from that generation, we fall back to a 'full sync'.
Along these lines, when you remove the old generations, you need to move the doc_ids that are current somewhere so that you can do the full sync. (It breaks the current notion that each generation corresponds to a single document change.)
To post a comment you must log in.
At the basic concept, this should give correct results, and only lose the ability to do partial synchronization from the revisions that have been purged. (If you request a sync from before the history horizon, you just end up with a full sync, getting some documents that you already have.)