Event store projections failing on a regular basis

Apologies, I meant to say “good state” instead of “good place”.

After checking the administrative events, I saw multiple errors :

  • Application Error
  • .Net Runtime

I am joining some of those errors below
Application: EventStore.ClusterNode.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at EventStore.Projections.Core.v8.Js1.CompilePrelude(System.String, System.String, LoadModuleDelegate, EnterCancellableRegionDelegate, ExitCancellableRegionDelegate, LogDelegate)
at EventStore.Projections.Core.v8.PreludeScript.CompileScript(System.String, System.String)
at EventStore.Projections.Core.v8.PreludeScript…ctor(System.String, System.String, System.Func2<System.String,System.Tuple2<System.String,System.String>>, System.Action2<Int32,System.Action>, System.Action2<System.String,System.Object[]>)
at EventStore.Projections.Core.Services.v8.V8ProjectionStateHandler…ctor(System.String, System.String, System.Func2<System.String,System.Tuple2<System.String,System.String>>, System.Action2<System.String,System.Object[]>, System.Action2<Int32,System.Action>)
at EventStore.Projections.Core.Services.Management.ProjectionStateHandlerFactory.Create(System.String, System.String, System.Action2<Int32,System.Action>, System.Action2<System.String,System.Object[]>)
at EventStore.Projections.Core.Services.Processing.ProjectionCoreService.CreateStateHandler(EventStore.Projections.Core.Services.ISingletonTimeoutScheduler, EventStore.Common.Log.ILogger, System.String, System.String)
at EventStore.Projections.Core.Services.Processing.ProjectionCoreService.Handle(CreateAndPrepare)
at EventStore.Core.Bus.MessageHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].TryHandle(EventStore.Core.Messaging.Message)
at EventStore.Core.Bus.InMemoryBus.Publish(EventStore.Core.Messaging.Message)
at EventStore.Core.Bus.QueuedHandlerMresWithMpsc.ReadFromQueue(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart(System.Object)

Auto Generated Inline Image 1.png

Hello Pieter

What would you suggest I do ?

Resubmit all of the data again ? Delete projections, then recompute them ?

How could I avoid this in the future ? Avoid projections ?

Best regards

Omar Msaaf