You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Retention] Make retention go even slower (#25357)
Increases the interval between scanning the documents log for retention from 10 mins -> 30 mins. The number of documents scanned per run was also decreased from `10000` - > `1000`. With these changes, we should be good to rollout retention again on monday.
The changes made since the rollout have been:
- removed `documents_to_delete` which should decrease the load by ~1/3
- cursor on scanned documents instead of deleted documents
- increased time between batches -- should decrease load by ~2/3
- decreased documents scanned -- should decrease load by ~9/10
Let me know if there are any more optimizations we should consider.
GitOrigin-RevId: b9e05b1031b7d33ac72cbce6cb25bcbfb78846b5
0 commit comments