The projection has been stripped right back, but the part that causes it is when we include a stream that was truncated (indirectly I think)
We have a stream created called projections_StoreProductManager_result and it contains events called StoreProductHistoryUpdatedEvent.
Our projection which kills Eventstore initially did:
fromStream(‘projections_StoreProductManager_result’) but Position stays on -1 (I have another issue on the go for that_
Now, I am 99% sure this event no longer exists (truncated and scavenged long ago)
There is no “$o” property on other[6] so could this be the source of the problem?
I don’t know enough about the inner workings of the Eventstore, but ideally, we shouldn’t be seeing these “ghost events” when we are running projections or if that is part of the actual processing, a way to skip past this from the C# before it’s passed onto ExecuteCommandHandler?