Product Documentation

User-Defined Extensions for Replication

Previous Topic

Next Topic

Transaction Event Details

Start transaction

The Replication Agent is starting a transaction on the target server.

VOID rxOnStartTransaction(prxEVENT prxagentev);

Input Parameters: rxEVENT with rxTRNOP (see Callback Function Input Parameters)

Output Parameters: rxEVENT action field:

  • RXA_DEFAULT - The Replication Agent starts a transaction on the target server.
  • RXA_SKIP - The Replication Agent does not start a transaction on the target server.
  • RXA_SHUTDOWN - The Replication Agent shuts down.

Commit transaction

The Replication Agent is committing a transaction on the target server.

VOID rxOnCommitTransaction(prxEVENT prxagentev);

Input Parameters: rxEVENT with rxTRNOP (see Callback Function Input Parameters)

Output Parameters: rxEVENT action field:

  • RXA_DEFAULT - The Replication Agent commits the transaction on the target server.
  • RXA_SKIP - The Replication Agent does not commit the transaction on the target server.
  • RXA_SHUTDOWN - The Replication Agent shuts down.

Abort transaction

The Replication Agent is aborting a transaction on the target server.

VOID rxOnAbortTransaction(prxEVENT prxagentev);

Input Parameters: rxEVENT with rxTRNOP (see Callback Function Input Parameters)

Output Parameters: rxEVENT action field:

  • RXA_DEFAULT - The Replication Agent aborts the transaction on the target server.
  • RXA_SKIP - The Replication Agent does not abort the transaction on the target server.
  • RXA_SHUTDOWN - The Replication Agent shuts down.

User-defined log entry

The Replication Agent is processing a user-defined log entry operation.

VOID rxOnUserTransaction(prxEVENT prxagentev);

Input Parameters: rxEVENT with rxTRNOP (see Callback Function Input Parameters)

Output Parameters: rxEVENT action field:

  • RXA_DEFAULT - The Replication Agent processes the user defined log entry.
  • RXA_SKIP - The Replication Agent ignores the user defined log entry.
  • RXA_SHUTDOWN - The Replication Agent shuts down.

Checkpoint

The Replication Agent is processing a checkpoint log entry.

VOID rxOnCheckpoint(prxEVENT prxagentev);

Input Parameters: rxEVENT with rxTRNOP (see Callback Function Input Parameters)

Output Parameters: rxEVENT action field:

  • RXA_DEFAULT - The Replication Agent processes the checkpoint entry.
  • RXA_SKIP - The Replication Agent ignores the checkpoint entry. Be aware that if you skip the Replication Agent's processing of checkpoint entries, you must manually inform the source server of the Replication Agent's current minimum transaction log requirement.
  • RXA_SHUTDOWN - The Replication Agent shuts down.

TOCIndex