Closed jeer007 closed 7 years ago
As long as we don't utilizes checkpoints in our implementation, I've tried to just remove the "throw new InvalidOperationException" in MultiStreamEventReader.DeliverEvent (row 329) as a workaround. This seems to work fine for us. It has been running for a week now. But maybe it can pose some other consequences that I cannot foresee?
Regarding EventStore 4.0.1.0. for Windows
My continuous projection code looks like this:
fromStreams('CC1-teservice-1', 'CC1-teservice-2').when({'te-status' : function(s, e) {linkTo('teccapi-apa5-stream', e);}})
This works fine as long as the events in the input streams ('CC1-teservice-1', 'CC1-teservice-2') persists for ever.
The problem occurs when I set the maxAge on the input streams to any value that causes old events to be deleted from the streams.
The EventStore logs then says:
...and no event links will be added to the output stream (in this case 'teccapi-apa5-stream').
What is really strange is if I only select one (e.g. 'CC1-teservice-1') input stream in the fromStreams() the projection works fine without any errors.
Regards Jens Eriksson