Consultor Eletrônico



Kbase P136472: After a connection failure, is there a way to avoid the Replication agent to get into pre-transition
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/10/2008
Status: Unverified

GOAL:

After a connection failure, is there a way to avoid the Replication agent to get into pre-transition state?

GOAL:

Why does the target database database needs to be restarted to resume Replication after Replication agent terminates?

GOAL:

Will the Replication resume if agent went into pre-transition state?

GOAL:

Will the replication resumes after agent connect-timeout expire?


GOAL:

A TCP/IP failure has occurred. The Agent's will enter PRE-TRANSITION, waiting for connection from the Replication Server. (11699)

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge Replication
Fathom Replication

FIX:

No, There no way to avoid the Replication agent to get into pre-transition state.

When the OpenEdge Replication agent first loses contact with the OpenEdge Replication server, it goes into a pre-transition state where it listens for the OpenEdge Replication server.
During pre-transition after a lost connection, if auto transition is configured, the OpenEdge Replication agent listens for the OpenEdge Replication server in order to re-establish connection for a set amount of time (determined by the transition-timeout value in the OpenEdge Replication source properties file).

If contact is still not established and the agent is configured to perform auto transition, the transition-timeout expires and the target database is transitioned to a normal (this was only option before OpenEdge 10.1A) or source OpenEdge database (determined by the database-role value in the OpenEdge Replication source properties file) . A normal OpenEdge database means that all standard client connections and updates can be performed on it. A source database means that the source database becomes a target database, and a target database becomes a source database (This is the default value starting on OpenEdge 10.1A).
If contact is not established and the agent is configured to perform manual transition, the OpenEdge Replication agent continues waiting for a connection until the database administrator initiates a change using the DSRUTIL utility or the database is shutdown. Until the administrator initiates a change, the database will remain in an unknown state. If the database administrator does not initiates a change for the manual transition but contact with OpenEdge Replication server becomes available normal operation will resume as Replication Agent is still waiting for a connection. If agent the Repllication agent terminates for any reason, whether the Replication agent it was killed or the agent connect-timeout expired, the target database needs to be restarted to clear the unknown state.