Merge lp:~brian-murray/daisy/rebuild-bucketversions into lp:daisy
Status: | Rejected |
---|---|
Rejected by: | Brian Murray |
Proposed branch: | lp:~brian-murray/daisy/rebuild-bucketversions |
Merge into: | lp:daisy |
Diff against target: |
51 lines (+47/-0) 1 file modified
tools/rebuild_bucketversions.py (+47/-0) |
To merge this branch: | bzr merge lp:~brian-murray/daisy/rebuild-bucketversions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daisy Pluckers | Pending | ||
Review via email: mp+149176@code.launchpad.net |
Description of the change
This requires a bit more logic than just copying the data from bucketversions to bucketversion as we will be recording the data in both column families for a bit it is possible the same crash and package version will exist in both of them. Subsequently we need to check the count for each package version and if it is greater in the old cf (bucketversions) we should add the difference between the old cf and the new cf to the new cf.
I've tested this by manipulating the data in the old cf and it worked for me, but I'd appreciate a second set of eyes.
Unmerged revisions
- 215. By Brian Murray
-
add in a tool to copy data from bucketversions to bucketversion which uses the new package version comparator