Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

SQL server 2016 peer to peer transactional replication error: The replication agent has not logged a progress message in 10 minutes

$
0
0

Hi all,

I am running into this error on the SQL server 2016 developer edition. 

Set up: 4 nodes in a rectangular peer to peer replication topology, each node acting as a publisher as well as a distributor.

Error: on one of the nodes it is reporting:The replication agent has not logged a progress message in 10 minutes. This might indicate an unresponsive agent or high system activity. Verify that records are being replicated to the destination and that connections to the Subscriber, Publisher, and Distributor are still active.

I followed the link below trying to resolve this issue but I believe I can rule out the possibility of "The agent cannot log in to one of the computers in the topology". However, according to the link another possible cause is that the agent is busy, in this case the agent is distribution agent since it is the one that is not responding. I have tried to restart the distribution agent and also added verbose logging. What I am seeing in the log is that distribution agent started initializing but never seems to finish as it is stuck at "agent waiting for Peer-to-Peer commands to apply". 

Since the node has two subscribers and only one is encountering this issue, I also added the logging on the healthy subscription and log leading up to the agent initializing are identical but the problematic one is just stuck at "agent waiting for peer-to-peer commands to apply". On the replication monitor I do see undistributed commands staying constant which means commands are not being applied. Then what is the distribution agent busy doing then? Any idea on how I can debug this further as I am completely lost and this peer to peer topology technology just seems way too unreliable. 

https://docs.microsoft.com/en-us/sql/relational-databases/replication/mssql-eng020554?view=sql-server-2016

Thank you for your help.


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>