Ignore:
Timestamp:
2008-08-29T13:10:39+12:00 (16 years ago)
Author:
davidb
Message:

Introduction of new GDBM alternative for archives.inf as step towards full incremental building. Information traditionally stored in archives.inf PLUS additional information that will help with working out what files have changed since last build, and what doc-id they hashed to is stored in two GDBM databases. For now these databases aren't read, but in the future ArchivesInfPlugin will be upgraded to use these to support these.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/IncrementalBuildUtils.pm

    r15890 r17087  
    390390        # Now use the GDBM utils to write a blank string to this oid in the
    391391        # database
    392         &GDBMUtils::gdbmSet($collection, $oid, "");
     392        &GDBMUtils::gdbmCachedCollectionSet($collection, $oid, "");
    393393        # Remove reverse lookup
    394         &GDBMUtils::gdbmSet($collection, $doc_num, "");
     394        &GDBMUtils::gdbmCachedCollectionSet($collection, $doc_num, "");
    395395        # And remove from the database
    396396        &callGS2LuceneDelete($collection, $doc_num);
Note: See TracChangeset for help on using the changeset viewer.