When the TTL monitor removes expired documents from a clustered collection, it logs the following message:
"Deleted expired documents using collection scan"
We could improve the wording here to make it clearer that the collection is clustered on the TTL field and this is really a clustered index scan. A similar issue was raised in SERVER-82079.
- is related to
-
SERVER-82079 Count clustered index scan as indexScan and not collectionScan in $lookup explain output
- Backlog