Oracle GoldenGate Error Messages

OGG-01179

Mismatched record version. Bad data found in trail file {0} at {1}.


Cause

The trail contains an incomplete record. A previously active Extract group probably was dropped and recreated to link to the same trail name as before. The new Extract started to write to the beginning of the first file in the trail, which caused it to overlay new data over the data that was written by the old group. Because record lengths vary, the new data overwrote record headers, causing one or more incomplete records. Replicat expects a record to start with a header; otherwise it abends.


Action

Examine the parameter files to determine if the parameter file for one Extract group was copied as the basis for the second group, but trail names were not changed for the second group. If this is the case, the best solution is to start over due to lost or corrupted data. To do this, back up the old trail files, drop and recreate the Extract groups and trails, and create new Replicat groups. Then, resynchronize the data. Save any "debug509" files that are generated in case you need to open a support case. For Oracle GoldenGate versions 10.0 and later, there is a RECOVERYOPTIONS parameter that also might be influencing the way that a recovering Extract writes to the trail. See the Oracle GoldenGate reference documentation for more information.