Hi all,
Recently on production environment, we had a outage for EventStore cluster, we have three EventStore Instances which
version is OSS-3.0.5. We found some error logs which are generated during the period out outage on Instance A.
From the logs, it seems this instance is already elected as Master role but failed to handle WriteEpoch message due to the
invalid state. After we rebooting the EventStore service, it goes back to normal now. During the outage, **instance B **is also
at a very high cpu utilization (around 90 percentage).
Any help appreciated.
Thanks in advance.
[PID:07992:026 2016.03.22 09:11:27.387 INFO TcpConnectionManager] Connection ‘external-secure’ [60.58.62.8:57783, {29d5ed97-c7da-4fb9-8c36-95ff2b4ec1ff}] closed: SocketError.
[PID:07992:010 2016.03.22 09:11:30.819 TRACE QueuedHandlerMRES ] SLOW QUEUE MSG [StorageWriterQueue]: WritePrepares - 45605ms. Q: 0/197.
[PID:07992:010 2016.03.22 09:11:30.819 ERROR QueuedHandlerMRES ] —!!! VERY SLOW QUEUE MSG [StorageWriterQueue]: WritePrepares - 45605ms. Q: 0/197.
[PID:07992:013 2016.03.22 09:11:30.835 INFO ClusterVNodeControll] ========== [10.10.13.101:2113] IS MASTER!!! SPARTA!!!
[PID:07992:010 2016.03.22 09:11:30.851 FATAL StorageWriterService] Unexpected error in StorageWriterService. Terminating the process… System.Exception: New Epoch request came not in master state!!! State: PreMaster.
at EventStore.Core.Services.Storage.StorageWriterService.EventStore.Core.Bus.IHandle<EventStore.Core.Messages.SystemMessage.WriteEpoch>.Handle(WriteEpoch message) in c:\EventStore\src\EventStore.Core\Services\Storage\StorageWriterService.cs:line 195 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 336 at EventStore.Core.Services.Storage.StorageWriterService.CommonHandle(Message message) in c:\EventStore\src\EventStore.Core\Services\Storage\StorageWriterService.cs:line 157
[PID:07992:010 2016.03.22 09:11:30.866 ERROR Application ]
Exiting with exit code: 1. Exit reason: Unexpected error in StorageWriterService: New Epoch request came not in master state!!! State: PreMaster.