Hi Mark.
Plese see the example:
In the error log of Replication appears
T. 2014/01/30 18:08:11. (45): Last command(s) to 'BICCONTINGENCIA.consulta':
T. 2014/01/30 18:08:11. (45): 'begin transaction [0a] delete from dbo.temp_01 where rut='1-9' and nom='JUAN' [0a] delete from dbo.temp_01 where rut='1-9' and nom='PABLO'
I. 2014/01/30 18:08:11. A grouped transaction of 2 individual transactions has failed in database 'BICCONTINGENCIA.consulta'. Each transaction in the group will be executed individually.
H. 2014/01/30 18:08:12. THREAD FATAL ERROR #5189 DSI EXEC(104(1) BICCONTINGENCIA.consulta) - /dsiutil.c(819)
The DSI thread for the 'BICCONTINGENCIA.consulta' database is being shut down. DSI received Replication Server error #5185 which is mapped to STOP_REPLICATION or RETRY_STOP_REPLICATION. See the Replication Server log for more information.
T. 2014/01/30 18:08:12. (45): Last command(s) to 'BICCONTINGENCIA.consulta':
T. 2014/01/30 18:08:12. (45): 'begin transaction [0a] delete from dbo.temp_01 where rut='1-9' and nom='JUAN' [0a] delete from dbo.temp_01 where rut='1-9' and nom='PABLO' '
W. 2014/01/30 18:08:12. WARNING #5185 DSI EXEC(104(1) BICCONTINGENCIA.consulta) - /dsiexec.c(13619)
Row count mismatch for the command executed on 'BICCONTINGENCIA.consulta'. The command impacted 2 rows but it should impact 1 rows.
I. 2014/01/30 18:08:12. The error was caused by output command #2 of the failed transaction on table 'dbo.temp_01'.
I. 2014/01/30 18:08:12. The DSI thread for database 'BICCONTINGENCIA.consulta' is shutdown.
In the replication server i execute:
1> admin who_is_down
2> go
Spid Name State Info
---- ---------- -------------------- ----------------------------------------
DSI EXEC Suspended 104(1) BICCONTINGENCIA.consulta
DSI Suspended 104 BICCONTINGENCIA.consulta
For those errors always we execute the command:
resume connection to BICCONTINGENCIA.consulta skip tran
Now in the error log of Replication appears:
I. 2014/01/30 18:14:49. The DSI thread for database 'BICCONTINGENCIA.consulta' is started.
I. 2014/01/30 18:14:50. DUMP OF 1 SKIPPED TRANSACTIONS FOR DATABASE 'BICCONTINGENCIA.consulta'
I. 2014/01/30 18:14:50. begin transaction
I. 2014/01/30 18:14:50. delete from dbo.temp_01 where rut='1-9' and nom='JUAN'
I. 2014/01/30 18:14:50. delete from dbo.temp_01 where rut='1-9' and nom='PABLO'
I. 2014/01/30 18:14:50. execute rs_update_lastcommit @origin = 103, @origin_qid = 0x00000000004033df00080198000b0008019800080000a2c3012df3f80000000000000001, @secondary_qid = 0x000000000000000000000000000000000000000000000000000000000000000000000000, @origin_time = '20140130 18:19:22:640', @conn_id = 0
I. 2014/01/30 18:14:50. if @@error <> 0 rollback transaction
I. 2014/01/30 18:14:50. commit transaction
I. 2014/01/30 18:14:50. END DUMP OF 1 SKIPPED TRANSACTIONS FOR DATABASE 'BICCONTINGENCIA.consulta'
I. 2014/01/30 18:14:50. The first 1 transaction(s) for database 'BICCONTINGENCIA.consulta' have been logged into the exceptions log and skipped. They have also been logged either in repserver log, or the location specified by sysadmin dump_file command.
The question is:
what can i do for avoid lose the 2 transactions that appear in the log?
What should Ido torecover the transactions?
Thanks,
Rene