-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tombstone retention #829
Tombstone retention #829
Conversation
✅ Deploy Preview for redpanda-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
bf75351
to
60dfd47
Compare
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
eb182e0
to
75841d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's looking good! A small number of comments on my end.
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
@kbatuigas feel free to merge this one when you merge yours |
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
|
||
== Tombstone record removal | ||
|
||
Compaction also enables deletion of existing records through tombstones. For example, as data is deleted from a source system, clients produce a tombstone record to the log. A tombstone record contains the key and the value `null`. Tombstones signal to brokers and consumers that records with the same key prior to it in the log should be deleted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we can add somewhere here what a tombstone is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can link to other article in compaction which describes it
[[deleteretentionms]] | ||
==== delete.retention.ms | ||
|
||
The retention time (in ms) for tombstone records in a compacted topic. Redpanda removes tombstone records after the retention limit is exceeded. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove (in ms) from the description and add a new field "Units: milliseconds " like we have on cluster properties.
|
||
You cannot enable `tombstone_retention_ms` if you have enabled any of the Tiered Storage cluster properties `cloud_storage_enabled`, `cloud_storage_enable_remote_read`, and `cloud_storage_enable_remote_write`. | ||
|
||
On the topic level, you cannot enable `delete.retention.ms` at the same time as the Tiered Storage topic configuration properties `redpanda.remote.read` and `redpanda.remote.write`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can I enable delete.retention.ms topic property if I have the Tiered Storage cluster properties?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Cluster properties are coupled and topic properties are coupled but the delete.retention.ms
topic property is not coupled to the cluster properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. Check comments before merging. If you need to address them later, consider creating a new ticket
modules/manage/pages/cluster-maintenance/compaction-settings.adoc
Outdated
Show resolved
Hide resolved
Co-authored-by: Joyce Fee <[email protected]>
Co-authored-by: Joyce Fee <[email protected]>
Co-authored-by: Joyce Fee <[email protected]>
Description
Support for topic level
delete.retention.ms
and cluster leveltombstone_retention_ms
properties, which define the retention limit for tombstone records in compacted topics.TODO:
tombstone_retention_ms
reference entry: add Tombstone property #847Resolves https://github.com/redpanda-data/documentation-private/issues/2600
Review deadline: Nov 12
Page previews
24.3 Beta > Compaction settings > Tombstone record removal
Topic properties > delete.retention.ms
What's new
Checks