[DBCleaner] Stop deleting after X failed deletes

[DBCleaner] Stop deleting after X failed deletes

  
Forge Component
(28)
Published on 16 Aug by Mika Roivainen
28 votes
Published on 16 Aug by Mika Roivainen

Hi,


I tried deleting espaces with the tool on 9.1.300, but I got a constrained error in the logging.

which is not so bad, but the code is continuing because there it will not abort/stop the process.

This will "hang" the machine, because it never stops.


I changed it now, so the for-loop will throw a userexception when the number of failed deletes is higher than a site-property. 

Please fix this as well in future versions.


Hi J,

Perhaps you are right and there should be a cut-off point when DBCleaner stops trying to delete versions, specially after a few iterations.

In order to better understand your scenario, could you provide with a screenshot of your DBCleaner? I would like to gauge how many espace versions you have that are not being deleted, so I can find a better way to handle these scenarios.

Best regards,

Ricardo Silva