
2-way replication Update Anywhere, Update trigger
Hi
If I do one-way replication & trigger is on source database then it
works properly. But not when it is 2 way & trigger is on
target database.
1 ) I thing It is to do with something ---
Record is comming from a Replication Event(Update record) - Then
Trigger invocation - Then Delete - Capture lost / Not
applied to Source database
2) in case of One way replication & Trigger is on source then -----
Record is comming from External Source(An application is updating
record on source database) - Then Trigger invocation -
Then Delete - Target database replicated
3) See I was able to do so even when I have 2-way replication.
Trigger is on Target Database but
Record is comming from External Source(An application is updating
record on Target Database) - Then Trigger invocation -
Then Delete - Source database replicated
Hence you can see problem occurs only when
Record is comming from a Replication Event(Update record) - Case 1
where case 2 & Case 3 are
Record is comming from External Source(An application is updating
record on source database)
Record is comming from External Source(An application is updating
record on Target Database)
Sounds like a bug only ?????????????
Quote:
>Subject:
> Re: Update Anywhere - trigger event
> Date:
> Thu, 21 Feb 2002 08:40:04 -0500
> From:
> To:
Quote:
> Hi
> Trigger operations are logged by the db2 logger, and logs are what
> capture uses to figure out what to capture for replication to the target.
> So, theoretically this should work. I'm not sure why this particular
> delete is not being captured. My initial suggestion is that you create
> the trigger against the source, just to test if those operations get
> captured and applied correctly, i.e. perhaps it is just a problem
> with the trigger on the target.
> Alternatively, I can only suggest that you post this question to
> comp.databases.ibm-db2.
> Dorie.