Run the Unified Typing Tool with the -replug Option
exec prog emxNewTypingMigrationProgram -replug [nThreads] [-tSize nPerBlockSize] –dir <WorkingFolder> [-commit]
Where:
nThreads: Specifies the number of threads to use. If not specified, it is by default1.nPerBlockSize: Specifies the number of MQL requests to handle by thread and by loop. If not specified, it is by default1000.WorkingFolder: Specifies the working folder, that is, where to put logs, requests, etc. This clause is mandatory.commit: Commits the command. If not specified, the command is simulated but not committed.
For example:
- Example 1:
exec prog emxNewTypingMigrationProgram –dir /tmp/NewTypingMigration -replug
The working directory is
/tmp/NewTypingMigration. The command is executed on a single thread, and the number of orphaned paths to process per loop is 1000 (default number).This means that if the database contains 10,000 orphaned paths, the thread loops 10 times.
- Example 2:
exec prog emxNewTypingMigrationProgram –dir /tmp/NewTypingMigration –replug 2 –tSize 2000
The working directory is
/tmp/NewTypingMigration. The command is executed on two threads, and the number of orphaned paths to process per loop is 2000.This means that if the database contains 10,000 orphaned paths, one of the threads executes 3 loops, replugging 2000 orphaned paths per loop, and the second thread executes 2 loops, replugging 2000 orphaned paths per loop.
If the database contains 1500 orphaned paths, one of the threads executes 1 loop, replugging the 1500 orphaned paths with the loop, and the second thread does nothing.
If the missing object is
now present, the Unified Typing Migration Tool replaces the
NotMigratedXXXX part of the path with the genuine type when
migrating to the Unified Typing architecture.
Important:
|
The tool generates the following files:
- ReplugSRResult.txt: Contains on each line the path element that contains a missing object.
- ReplugSRResult_KO.txt: Contains the orphaned paths that result in an error when replugging.
- ObjectsWithForbiddenTypeOnReplug.txt: Contains the missing
objects that have a forbidden type (that is, any type other than
NotMigratedReference,NotMigratedRepReference,NotMigratedInstance,NotMigratedRepInstance,NotMigratedConnection, andNotMigratedPort).