Apply reader algorithm (STREAMS)
Is anyone know what is the algorithm that the apply reader uses to pass the set of messages to the apply coordinators?
From what i understood, In a transactional queue, the Apply reader is responsible to group all the messages (DML) belonging to the same transaction and pass it to the apply coordinator. Then, the apply coordinator pass this group of messages to one of the apply servers, so the DMLs can be applied.
I've been trying to trace this flow and I notice some interesting behaviour in a particular case which I will try to explaing bellow.
So, suppose we have an Apply process consuming captured LCRs from the que X. The Queue X has 4 messages: