mirror of https://github.com/apache/druid.git
9f6ce6ddc0
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. |
||
---|---|---|
.. | ||
alerts.md | ||
auth-ldap.md | ||
auth.md | ||
basic-cluster-tuning.md | ||
clean-metadata-store.md | ||
deep-storage-migration.md | ||
dump-segment.md | ||
durable-storage.md | ||
dynamic-config-provider.md | ||
export-metadata.md | ||
high-availability.md | ||
http-compression.md | ||
insert-segment-to-db.md | ||
java.md | ||
kubernetes.md | ||
metadata-migration.md | ||
metrics.md | ||
migrate-from-firehose-ingestion.md | ||
mixed-workloads.md | ||
other-hadoop.md | ||
password-provider.md | ||
pull-deps.md | ||
request-logging.md | ||
reset-cluster.md | ||
rolling-updates.md | ||
rule-configuration.md | ||
security-overview.md | ||
security-user-auth.md | ||
segment-optimization.md | ||
single-server.md | ||
tls-support.md | ||
use_sbt_to_build_fat_jar.md | ||
web-console.md |