Hey Guys, I’ve made a bit of a mess of our System projections - I was attempting to upgrade to use a local build of the dev branch, and didn’t upgrade the projections correctly. They all got into a Faulted state because of ‘Constructor not found’. (Only now did I read that I must first disable all projections before upgrading).
Anyway I though I could just delete them all and then they would get recreated on a restart, which didn’t work, so after looking at the code, I manually deleted all the $projections-* and $projections-$all streams. This successfully recreated them but they all are in a Faulted state again with the error:
[PID:10432:015 2014.07.02 09:51:35.850 ERROR QueuedHandlerMRES ] Error while processing message WRITE COMPLETED: Corr
elationId: 480f8eaa-ec94-40da-bdc4-f52c8d60852a, Result: Success, Message: , FirstEventNumber: 5, LastEventNumber: 5 in
queued handler ‘Projections Master’.
System.Exception: Projection version and event number mismatch
at EventStore.Projections.Core.Services.Management.ManagedProjection.WriteCompleted(WriteEventsCompleted message, St
ring eventStreamId) in c:\code\EventStore\src\EventStore\EventStore.Projections.Core\Services\Management\ManagedProject
at EventStore.Core.Messaging.RequestResponseDispatcher`2.Handle(TResponse message) in c:\code\EventStore\src\EventSt
at EventStore.Core.Bus.MessageHandler`1.TryHandle(Message message) in c:\code\EventStore\src\EventStore\EventStore.C
at EventStore.Core.Bus.InMemoryBus.Publish(Message message) in c:\code\EventStore\src\EventStore\EventStore.Core\Bus
at EventStore.Core.Bus.QueuedHandlerMRES.ReadFromQueue(Object o) in c:\code\EventStore\src\EventStore\EventStore.Cor
My fault they all got screwed up, but anyway is there an easy way I can just reset all the projections to start from the beginning again (without having to clear all of my data?).