GeoWebCache not deleting expired/discarded tiles from _gwc_in_progress_deletes_ folder

Is it OK to ‘force’ delete folders/files from GeoWebCache’s

gwc_in_progress_deletes

folder?

I have a folder (zoom level) with several subfolders each having tens of thousands of tiles that have not been deleted for about a month now (& with no detectable changes/no errors in geoserver error log).

GeoServer Version 2.25.3 Git Version 00835315c4cc1743ceee114f20d0e4e86cc181cf GeoWebCache Version 1.25-SNAPSHOT (rev 70b38c615f940b311e4756224a66013d6d84bb81/70b38c615f940b311e4756224a66013d6d84bb81)

I want to know why? Why it cant be delete.

What platform are you on? It has been traditionally been unreliable deleting files on windows for example.

Checking the code it looks like _gwc_in_progress_deletes_ is a staging area where files are renamed to before being deleted by a background thread.

I think these files could be safely removed. Perhaps GWC was shutdown or restarted before the background thread could complete the activity…

thank you