Affects Version/s: 6.2.1 CE GA2, 6.2.10 EE GA1, 6.2.X EE, 7.0.0 M3
Component/s: ~[Archived] WCM > Publication
Steps to reproduce:
- Create an structure.
- Create a template linked to that structure.
- Create for example 3000 web contents with 30 versions (9000 journal articles in total) per each one using that structure.
- Go to manage structures, open the structure previously created and save.
It will take a long time to save the structure (even hours)
The reason for the bad performance is that any time we save a structure we reindex the articles related to it, so 9000 indexations in total. However there is a bug whereby when we are going to index a journal article version we take all its versions so, for the last example, we perform 30 * 30 = 900 indexations per web content so, 900 * 3000 = 2.700.000 indexations in total.
The following issue mitigates the problem: