After updating to 3.5.0 two of my projection have broken.
- Simple projection where I use stats as a source of ticks
fromStream(’$stats-10.8.58.11:2114’).
when({
‘$init’ : function(s,e) {
return { “timeMillis”: new Date().getTime() };
},
‘$statsCollected’ : function(s,e) {
var time = new Date();
var timeMillis = time.getTime();
if (s.timeMillis < timeMillis) {
s.timeMillis = timeMillis;
emit(‘clock’, ‘tick’, { “time”: time, “timeMillis”: timeMillis});
}
}
});
``
It is in state Faulted (Enabled) with error An event emitted in recovery differs from the originally emitted event. Existing(‘tick’, ‘$stats-10.8.58.11:2114: 54292’). New(‘tick’, ‘$stats-10.8.58.11:2114: 54291’)
- Another projection was in state starting. I tried to stop it. And now it is freezed in state stopping.