SAP Knowledge Base Article - Preview

2504094 - Resync DB should wait for dump DB marker - SAP ASE


ERROR #1028 DSI EXEC(XXX(1) <SID>_<xxxx>.<SID>) - dsiqmint.c(4719)
Message from server: Message: 2601, State 6, Severity 14 -- 'Attempt to insert duplicate key row in object 'XXXX' with unique index 'XXXX~0''.
Message from server: Message: 3621, State 0, Severity 10 -- 'Command has been aborted.'.
THREAD FATAL ERROR #5049 DSI EXEC(XXX(1) TSD_drsap2.TSD) - dsiqmint.c(4732) The DSI thread for database '<SID>_<xxxx>.<SID>' is being shutdown. DSI received data server error #2601 which is mapped to STOP_REPLICATION. See logged data server errors for more information. The data server error was caused by output command #0 mapped from input command #0 of the failed transaction.
The DSI thread for database '<SID>_<xxxx>.<SID>' is shutdown.

Obsolete dump marker causes duplicate key row error after using sap_materialize
Backup procedure at primary includes dump database followed by dump tran, both write a dump marker in the primary database transaction log for replication.
A subscription is created by DR Agent using the ‘with dump marker’ syntax during manual materialization (sap_materialize).
If the subscription picks up the dump marker from ‘dump database’ at the primary instead of ‘dump transaction', this will cause a duplicate key error, because the data from dump transaction would be loaded manually AND attempt to be replicated – causing duplicates.
If the hourly dump transaction is done before the dump database to be used for the resync, then the marker from the dump database is obsolete.
All transaction between the dump transaction and the dump database are already in the queue and will cause duplicate records on the standby side once the connection is resumed.



SAP Adaptive Server Enterprise (ASE) 15.7 for Business Suite


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0


sap_materialize, duplicate key, replication dump marker label, transaction resync, resynchronization, CR776589, 776145, 801720, 776589 , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.