- Timestamp:
- 2012-04-18T10:21:00+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/parallel-building/trunk/src/perllib/inexport.pm
r25116 r25401 482 482 # This is done so that, in parallel importing, the server will persist 483 483 # until the top level import.pl (which will be the first this that calls 484 # this function) completes. 485 my $arcinfo_doc_filename = &dbutil::get_infodb_file_path($collectcfg->{'infodbtype'}, "archiveinf-doc", $archivedir, 1); 486 my $arcinfo_src_filename = &dbutil::get_infodb_file_path($collectcfg->{'infodbtype'}, "archiveinf-src", $archivedir, 1); 484 # this function) completes. [jmt12] 485 my $create_server = 0; 486 # - infodb's of type *server need to be started on the same machine that 487 # runs parallel-import.sh, especially when distributed processing 488 # gets involved. 489 if ($collectcfg->{'infodbtype'} =~ /server$/) 490 { 491 $create_server = 1; 492 } 493 my $arcinfo_doc_filename = &dbutil::get_infodb_file_path($collectcfg->{'infodbtype'}, "archiveinf-doc", $archivedir, $create_server); 494 my $arcinfo_src_filename = &dbutil::get_infodb_file_path($collectcfg->{'infodbtype'}, "archiveinf-src", $archivedir, $create_server); 487 495 488 496 my $archive_info = new arcinfo ($collectcfg->{'infodbtype'}); … … 589 597 if ($manifest eq '' || (defined $collectcfg->{'complexmeta'} && $collectcfg->{'complexmeta'} eq 'true')) 590 598 { 591 print "Temporarily skipping global file scan as it is slow as molasses\n";592 #&plugin::file_block_read($pluginfo, $importdir, "", $block_hash, $metadata, $gli);599 #print "Temporarily skipping global file scan as it is slow as molasses\n"; 600 &plugin::file_block_read($pluginfo, $importdir, "", $block_hash, $metadata, $gli); 593 601 } 594 602 else
Note:
See TracChangeset
for help on using the changeset viewer.