Files download in local in case of reindex from a datasource

Hi all,

I’ve noticed that in case of rebuild of segments (reindex) performed through middlemanager nodes, the original segments are copied in the local filesystem of middlemanager. Once they are indexed, they are left in the location where they have been downloaded, and it is necessary a “manual” maintenance in order to remove them, at least the oldest copies - that are surely reindexed.

Is there any parameter in the configuration of druid (I’m considering here the 0.10.0 version) that allow to automatically remove the reindexed segments? Or any recommended procedure in this case?

Thanks in advance,