Preventing index corruptions

We were analyzing a specific anomaly in one of our sites and it helped us to find an issue which leads to corrupt indexes in case of AppPool recycles and AppDomain restarts.

The following workaround works from Sense/Net 6.0.0, till the latest 6.0.4. We suggest you to follow the steps below:

  1. Go to the Application Pool of your Site in IIS then click on Advanced Settings...
    • Under Recycling set Disable Overlapped Recycle to True. This prevents another worker process to be started as long as the current worker process is running.
    • Under Recycling set Recycling for Configuration Changes to True. By setting this you need to do the AppPool recycle manually to apply the changed configuration.
  2. Site must be shut down before updating DLL files.

More about the issue: AppDomain-AppPool-recycle.pptx

Comments are closed

Welcome to the blog!

Sense/Net ECM is ever evolving. Community means the world to us so we want to keep you apprised on what’s happening on our side of the woods. Want to make us happy? Add a comment and tell us what you think!

Month List