• Barry Warsaw's avatar
    _collect_revs(): It's possible that the metadata and txnoids entries · 16bb52cf
    Barry Warsaw authored
    for an object revision in objrevs got collected away when the entire
    object was refcounted to zero.  Be more defensive about find and
    deleting these records.
    
    Also, truncate the packtime table before writing the new record, to
    maintain the database invariant that there is only allowed one entry
    in this table at a time.
    16bb52cf
Full.py 80.7 KB