Hi,
On Friday, we had an Event Store projections where the output stream lost all the past data associated to an input stream that somehow disappeared from the definition.
In Event Store, the projection code ended up looking like (no more input_stream_4):
fromStreams([“input_stream_1”,“input_stream_2”,“input_stream_3”])
.when({
$any : function(s,e){
linkTo(“output_stream”, e);
}
})
Instead of what we had created and was there before:
fromStreams([“input_stream_1”,“input_stream_2”,“input_stream_3”,“input_stream_4”])
.when({
$any : function(s,e){
linkTo(“output_stream”, e);
}
})
When we added it back and restarted the projection, all the missing data went to the top as we would’ve expected. We tried to reproduce the issue by manually removing one of the input stream but that seem to only affect new events and doesn’t seem to remove the old data.
Not sure if this is related but we also had another issue a few days before that could’ve been triggered by backups failing due to disk full. Here’s the previous post: https://groups.google.com/forum/#!topic/event-store/CET_uBIzzGY
Any ideas what happened here? Is this something related to how you create or write to a projection?
Thanks,
Jean-Philippe