Reestablish the
secondary truncation before restarting a RepAgent.
-
Log in to the Adaptive Server that contains the database whose secondary truncation point you want to reestablish.
-
Execute dbcc settrunc(ltm,valid) to reestablish the secondary truncation point.
For example, to reestablish the secondary truncation point in the Parts database:
> use Parts
> go
> dbcc settrunc(ltm, valid)
> go
-
Use the dbcc gettrunc command to verify
that the secondary truncation point has been enabled:
> use Parts
> go
> dbcc gettrunc
> go
The ltm_trunc_state column
in the output from this command should contain a 1.
-
Reset the locater for the database in the rs_locater table.
-
Resume the Replication Server to restart the RepAgent.
The RepAgent begins
scanning the log from the page returned in the
ltm_truncpage column
by the
dbcc gettrunc command.