DDL Gateway Server
The MDS DDL Gateway Server will keep track of the database names of all DDL transactions that it has received messages for. It will track the transaction in a backlog list and in a log file. The log will be combined with the MDS Recovery Table to resync the repository. Only databases that are out-of-sync will be resynced during recovery.
The DDL Gateway Server performs recovery:
The Gateway Server performs the following steps when performing recovery:
1 The Gateway Server sends a message to the Teradata Database to stop sending DDLs to RSG and to log “Affected” databases in the MDS Recovery Table.
2 The Gateway Server reads and deletes MDS Recovery Table entries, reads the backlog list and compiles a list of database names to resync.
3 Calls the metaload utility to resync each database name.
4 Reads and deletes the MDS Recovery Table again to resync databases that may have been affected by DDLs during the resync process.
5 Sends a message to the Teradata Database to start sending DDLs to RSG.