WorkSite Connector: Via.WorkSiteFetchChecksumUpdate.exe Command Line Tool

This tool allows to update missing fetch checksum to represent latest successful fetch. If you are upgrading WorkSite Connector from version 1.0.9.0 or older into version 1.0.10.0 or newer the Connector would trigger refetch on all documents indexed by the WorkSite Connector. To avoid that you should follow these steps:

  1. Disable all WorkSite repositories while still having version 1.0.9.0 or older installed.

  2. Upgrade connector to newest version.

  3. Run this tool on each repository.

  4. Re-enable all WorkSite repositories.

Allowable parameters are:

/repository|rid|r:<Int32>

/startdocnum|docnum|d:<Int64>

/help|h|?[:<Boolean>]

Specify repository ID for which to perform the fetch checksum update (required)

Specify the first document number (DOCMASTER.DOCNUM in WorkSite database) that should be processed

Get help

Example:

Via.WorkSiteFetchChecksumUpdate.exe /r:1 /d:1000

The tool will return a quick summary

Processed 1450309 documents:
5 haven't been indexed,
10 without fetch request,
8 with pending fetch request,
106 with failed fetch request,
50 left to be refetched (files that have been modified since last fetch),
0 with fetch checksum up-to-date,
1450130 updated fetch checksum (files that haven't been modified since last fetch),

Running on Locator 3.0

To execute this tool inside docker you have to run via docker exec command on PowerShell:
Example:

docker exec ayfie-connector-worksite cmd /c 'C:\Locator\worksite\WorkSiteFetchChecksumUpdate\Ayfie.Connector.WorkSiteFetchChecksumUpdate.exe /r:1 /d:1100'

 

ayfie