Hi,
We have a customer where the rebuild of the index if failing frequently. I may have uncovered something (also may be the root cause of what was reported in https://doc.dynamicweb.com/forum/dynamicweb-9-0-upgrade-issues/9-13-3-upgrade-causes-slow-loading-of-users-page?PID=1605&ShowLast=1give but thought it was best to start a new thread.
- The site (Biolegend) is running on 9.10.12 and the index is taking about 2min to run - so far so good
- Looking at the logs the of why it fails it's always the same reason
2022-10-03 22:01:25.526: Product index builder experienced a fatal error.. System.IO.IOException: The process cannot access the file ' (...) \Status.xml' because it is being used by another process (...)
- I tried to look into Dynamicweb's source code for usages of "Status.xml". Way easier said than done...
- It's used only in the Status class
- It appears to only be used in Load()
- The Load method is only used in GetStatusHistory() which traverses all directories
Am I accurate? And could the frequent looping through of the Status.xml files cause the error reported when rebuilding the index?
Best Regards,
Nuno Aguiar