A customer got an IndexDisabledException at the following location which prevented SC from starting.
at ServiceControl.Infrastructure.RavenDB.RavenBootstrapper.PurgeKnownEndpointsWithTemporaryIdsThatAreDuplicate(IDocumentStore documentStore) in C:\BuildAgent\work\7189a56f9f44affc\src\ServiceControl\Infrastructure\RavenDB\RavenBootstrapper.cs:line 103
at ServiceControl.Infrastructure.RavenDB.RavenBootstrapper.StartRaven(EmbeddableDocumentStore documentStore, Settings settings, MarkerFileService markerFileService, Boolean maintenanceMode) in C:\BuildAgent\work\7189a56f9f44affc\src\ServiceControl\Infrastructure\RavenDB\RavenBootstrapper.cs:line 97
at Particular.ServiceControl.MaintenanceBootstrapper.Run(HostArguments args) in C:\BuildAgent\work\7189a56f9f44affc\src\ServiceControl\MaintenanceBootstrapper.cs:line 20
The PurgeKnownEndpointsWithTemporaryIdsThatAreDuplicate method could fail but that should not prevent maintenance mode from launching.
A customer got an
IndexDisabledException
at the following location which prevented SC from starting.The
PurgeKnownEndpointsWithTemporaryIdsThatAreDuplicate
method could fail but that should not prevent maintenance mode from launching.Workaround
Removing the
Indexes
folder will ensure that maintenance mode can be launched again. It is advised to run to scan for DB consistency by runningesentutl /r RVN /l logs /s system
in the DB folder.