We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0b3e71 commit dce5a74Copy full SHA for dce5a74
src/sentry/tasks/deletion/hybrid_cloud.py
@@ -303,10 +303,9 @@ def _get_ids_to_delete(
303
) -> tuple[list[int], datetime]:
304
"""
305
Queries the database or databases if spanning multiple), and returns
306
- a list of tuples containing row ids and tombstone creation time for
307
- any rows requiring cleanup.
+ a tuple with a list of row IDs to delete, and the oldest
+ tombstone timestamp for the batch.
308
309
- :param self:
310
:param tombstone_cls: Either a RegionTombstone or ControlTombstone, depending on
311
which silo the tombstone process is running.
312
:param model: The model with a HybridCloudForeignKey.
0 commit comments