- Create new event type EVENT_ALLOCATE_WRITE_ID with related message format etc.
- Capture this event when allocate a table write ID from the sequence table by ACID operation.
- Repl dump should read this event from EventNotificationTable and dump the message.
- Repl load should read the event from the dump and get the message.
- Validate if source txn ID from the event is there in the source-target txn ID map. If not there, just noop the event.
- If valid, then Allocate table write ID from sequence table
Extend listener notify event API to add two new parameter , dbconn and sqlgenerator to add the events to notification_log table within the same transaction