druid/docs/api-reference
Kashif Faraz 9f6ce6ddc0
Remove task action audit logging and druid_taskLog metadata table (#16309)
Description:
Task action audit logging was first deprecated and disabled by default in Druid 0.13, #6368.

As called out in the original discussion #5859, there are several drawbacks to persisting task action audit logs. 
- Only usage of the task audit logs is to serve the API `/indexer/v1/task/{taskId}/segments`
which returns the list of segments created by a task.
- The use case is really narrow and no prod clusters really use this information.
- There can be better ways of obtaining this information, such as the metric
`segment/added/bytes` which reports both the segment ID and task ID
when a segment is committed by a task. We could also include committed segment IDs in task reports.
- A task persisting several segments would bloat up the audit logs table putting unnecessary strain
on metadata storage.

Changes:
- Remove `TaskAuditLogConfig`
- Remove method `TaskAction.isAudited()`. No task action is audited anymore.
- Remove `SegmentInsertAction` as it is not used anymore. `SegmentTransactionalInsertAction`
is the new incarnation which has been in use for a while.
- Deprecate `MetadataStorageActionHandler.addLog()` and `getLogs()`. These are not used anymore
but need to be retained for backward compatibility of extensions.
- Do not create `druid_taskLog` metadata table anymore.
2024-07-17 17:09:00 +05:30
..
api-reference.md API reference refactor (#14372) 2023-06-26 15:48:54 -07:00
automatic-compaction-api.md [Docs] Fix API placeholder formatting (#16240) 2024-04-12 09:19:13 -07:00
data-management-api.md [Docs] Fix API placeholder formatting (#16240) 2024-04-12 09:19:13 -07:00
dynamic-configuration-api.md [Docs] Fix API placeholder formatting (#16240) 2024-04-12 09:19:13 -07:00
json-querying-api.md [Docs] Fix API placeholder formatting (#16240) 2024-04-12 09:19:13 -07:00
legacy-metadata-api.md Support for bootstrap segments (#16609) 2024-06-24 09:27:17 -07:00
lookups-api.md [Docs] Fix API placeholder formatting (#16240) 2024-04-12 09:19:13 -07:00
retention-rules-api.md [Docs] Fix API placeholder formatting (#16240) 2024-04-12 09:19:13 -07:00
service-status-api.md [Docs] Fix API placeholder formatting (#16240) 2024-04-12 09:19:13 -07:00
sql-api.md [Docs] Fix API placeholder formatting (#16240) 2024-04-12 09:19:13 -07:00
sql-ingestion-api.md [Docs] Fix API placeholder formatting (#16240) 2024-04-12 09:19:13 -07:00
sql-jdbc.md [Docs] Fix API placeholder formatting (#16240) 2024-04-12 09:19:13 -07:00
supervisor-api.md Docs: Clarify that all supervisors can support early handoff (#16588) 2024-06-13 08:43:22 +05:30
tasks-api.md Remove task action audit logging and druid_taskLog metadata table (#16309) 2024-07-17 17:09:00 +05:30