Hi there,
Any update about this issue?
I had the same issue with EventStore OSS 3.0.1.0 which is running on Windows.
It happens after I shutdown server from UI while events were being saved into EventStore.
Here is the detail error:
[PID:209940:015 2015.05.29 03:29:01.032 ERROR ProjectionManager ] The ‘$by_category’ projection faulted due to ‘An event emitted in recovery differ from the originally emitted event. Existing(’$>’, ‘C:309063/P:309063’). New(’$>’, ‘C:228823/P:228823’)’
[PID:209940:034 2015.05.29 03:29:37.265 ERROR StorageReaderWorker ] Error during processing ReadStreamEventsBackward request.
System.Exception: Invalid order of events has been detected in read index for the event stream ‘$ce-user’. The event 53 at position 323212 goes after the event 55 at position 330867
at EventStore.Core.Services.Storage.StorageReaderWorker.CheckEventsOrder(ReadStreamEventsBackward msg, IndexReadStreamResult result) in c:\EventStore\src\EventStore.Core\Services\Storage\StorageReaderWorker.cs:line 362
at EventStore.Core.Services.Storage.StorageReaderWorker.ReadStreamEventsBackward(ReadStreamEventsBackward msg) in c:\EventStore\src\EventStore.Core\Services\Storage\StorageReaderWorker.cs:line 194
[PID:209940:015 2015.05.29 03:29:50.111 ERROR ProjectionManager ] The ‘$by_category’ projection faulted due to ‘An event emitted in recovery differ from the originally emitted event. Existing(’$>’, ‘C:309063/P:309063’). New(’$>’, ‘C:228823/P:228823’)’
[PID:209940:015 2015.05.29 03:30:32.042 ERROR ProjectionManager ] The ‘$by_category’ projection faulted due to ‘An event emitted in recovery differ from the originally emitted event. Existing(’$>’, ‘C:309063/P:309063’). New(’$>’, ‘C:228823/P:228823’)’
[PID:209940:016 2015.05.29 03:38:03.307 ERROR QueuedHandlerMRES ] Error while processing message EventStore.Projections.Core.Messages.ReaderSubscriptionManagement+Unsubscribe in queued handler ‘Projection Core #0’.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at EventStore.Projections.Core.Services.Processing.EventReaderCoreService.Handle(Unsubscribe message) in c:\EventStore\src\EventStore.Projections.Core\Services\Processing\EventReaderCoreService.cs:line 132
at EventStore.Core.Bus.MessageHandler`1.TryHandle(Message message) in c:\EventStore\src\EventStore.Core\Bus\MessageHandler.cs:line 33
at EventStore.Core.Bus.InMemoryBus.Publish(Message message) in c:\EventStore\src\EventStore.Core\Bus\InMemoryBus.cs:line 324
at EventStore.Core.Bus.QueuedHandlerMRES.ReadFromQueue(Object o) in c:\EventStore\src\EventStore.Core\Bus\QueuedHandlerMRES.cs:line 121
[PID:209940:018 2015.05.29 03:38:03.307 ERROR QueuedHandlerMRES ] Error while processing message EventStore.Projections.Core.Messages.ReaderSubscriptionManagement+Unsubscribe in queued handler ‘Projection Core #2’.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at EventStore.Projections.Core.Services.Processing.EventReaderCoreService.Handle(Unsubscribe message) in c:\EventStore\src\EventStore.Projections.Core\Services\Processing\EventReaderCoreService.cs:line 132
at EventStore.Core.Bus.MessageHandler`1.TryHandle(Message message) in c:\EventStore\src\EventStore.Core\Bus\MessageHandler.cs:line 33
at EventStore.Core.Bus.InMemoryBus.Publish(Message message) in c:\EventStore\src\EventStore.Core\Bus\InMemoryBus.cs:line 324
at EventStore.Core.Bus.QueuedHandlerMRES.ReadFromQueue(Object o) in c:\EventStore\src\EventStore.Core\Bus\QueuedHandlerMRES.cs:line 121
[PID:247872:016 2015.05.29 03:38:13.698 ERROR ProjectionManager ] The ‘$by_category’ projection faulted due to ‘An event emitted in recovery differ from the originally emitted event. Existing(’$>’, ‘C:1398952/P:1398952’). New(’$>’, ‘C:228823/P:228823’)’
[PID:247872:008 2015.05.29 03:38:36.799 ERROR StorageReaderWorker ] Error during processing ReadStreamEventsBackward request.
System.Exception: Invalid order of events has been detected in read index for the event stream ‘$ce-user’. The event 177 at position 1412394 goes after the event 179 at position 1419976
at EventStore.Core.Services.Storage.StorageReaderWorker.CheckEventsOrder(ReadStreamEventsBackward msg, IndexReadStreamResult result) in c:\EventStore\src\EventStore.Core\Services\Storage\StorageReaderWorker.cs:line 362
at EventStore.Core.Services.Storage.StorageReaderWorker.ReadStreamEventsBackward(ReadStreamEventsBackward msg) in c:\EventStore\src\EventStore.Core\Services\Storage\StorageReaderWorker.cs:line 194
[PID:247872:017 2015.05.29 03:43:13.197 ERROR QueuedHandlerMRES ] Error while processing message EventStore.Projections.Core.Messages.ReaderSubscriptionManagement+Unsubscribe in queued handler ‘Projection Core #0’.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at EventStore.Projections.Core.Services.Processing.EventReaderCoreService.Handle(Unsubscribe message) in c:\EventStore\src\EventStore.Projections.Core\Services\Processing\EventReaderCoreService.cs:line 132
at EventStore.Core.Bus.MessageHandler`1.TryHandle(Message message) in c:\EventStore\src\EventStore.Core\Bus\MessageHandler.cs:line 33
at EventStore.Core.Bus.InMemoryBus.Publish(Message message) in c:\EventStore\src\EventStore.Core\Bus\InMemoryBus.cs:line 324
at EventStore.Core.Bus.QueuedHandlerMRES.ReadFromQueue(Object o) in c:\EventStore\src\EventStore.Core\Bus\QueuedHandlerMRES.cs:line 121
Thanks
在 2015年4月22日星期三 UTC+8上午12:01:31,Greg Young写道: