Some times this is resolved by using repl_done command along with repl_flush.
EXEC
sp_repldone @xactid = NULL, @xact_segno = NULL, @numtrans = 0, @time = 0, @reset = 1
go
sp_repleflush
This time we faced issue and went unsuccessful. Then we followed below steps.
1. Stopped Log Reader Agent
2. EXEC sp_repldone @xactid = NULL, @xact_segno = NULL, @numtrans = 0, @time = 0, @reset = 1
3. sp_repleflush
4. Started Log reader agent
5. Replication came in Sync.
==================================================================
This is happening more frequently, There is no DB restores on the database.
==================================================================
Any solutions please advise thanks in advance. Why this re-occurs again and again.
Regards, Pradyothana DP http://www.dbainhouse.blogspot.in/