history-db may not commit to cache if killed early

Bug #716781 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned

Bug Description

Mostly we need to verify how this is going to work.

The specific concern is that initial import for a large branch might timeout, causing the thread to get reaped. If the import process hasn't done any committing, then the next request will have the same problem.
If we commit periodically during the cache update, we'll at least progress towards completion. So that even if the first request fails to complete, the second one can use the work that was already done.

Something like committing every 1000 revisions would probably be reasonable. As long as we commit the old history first.

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.