druid/docs/data-management
Abhishek Radhakrishnan fb7bb0953d
Kill segments by versions (#15994)
* Kill task version support.

Kill tasks by default kill all versions of unused segments in the specified
interval. Users wanting to delete specific versions (for example, data compliance
reasons) and keep rest of the versions can specify the optional version in the
kill task payload.

* Formatting changes.

* Multi version tests in RetrieveSegmentsActionsTest

Sort of like method-level parameterized tests.

* Address review feedback

* Accept a list of versions instead of a single version.

Support multiple versions.

* Tests for multiple versions.

* Update docs

* Cleanup

* Address review comments.

Retain the old interface method and make it default and route it to
the method with nullable versions variant. Update usages to use the
default method where versions doesn't matter.

* Remove versions from retreive used segments action.

* Some updates.

* Apply suggestions from code review

Co-authored-by: Kashif Faraz <kashif.faraz@gmail.com>

* /s/actual/observed/g

* minor test cleanup

* WIP: Test fixes and updates. Also add test for kill by version with used load spec.

Checkpoint.

---------

Co-authored-by: Kashif Faraz <kashif.faraz@gmail.com>
2024-03-13 09:37:30 +05:30
..
automatic-compaction.md update console to core Druid changes (#15854) 2024-02-07 19:44:25 +05:30
compaction.md docs: Fix broken anchor links (#15621) 2024-01-03 15:28:27 -08:00
delete.md Kill segments by versions (#15994) 2024-03-13 09:37:30 +05:30
index.md docs: Anchor link checker (#15624) 2024-01-08 15:19:05 -08:00
manual-compaction.md docs: add concurent compaction docs (#15218) 2023-10-27 10:29:34 -07:00
schema-changes.md docs: Anchor link checker (#15624) 2024-01-08 15:19:05 -08:00
update.md docs: Anchor link checker (#15624) 2024-01-08 15:19:05 -08:00