Skip to content
代码片段 群组 项目
未验证 提交 af66dd06 编辑于 作者: Matthew Wong's avatar Matthew Wong 提交者: GitHub
浏览文件

KDATA-484: Adding stateBeforeDeletion field (#6966)

This PR adds the `stateBeforeDeletion` field to FileTierPartitionState entries. This field will be important for backup and restore functionality for compacted topics.

The default value for this field is a new INVALID state. It shouldn't get updated until the object transitions into the SEGMENT_DELETE_INITIATE state, at which point the field is mutated to store the value of the state before. We do not have interest in the value of this field prior to the object transitioning to SEGMENT_DELETE_INITIATE state. It will be backfilled to earlier FTPS files on clusters through the migrateFormat strategy used for FTPSCleanUp

https://confluentinc.atlassian.net/wiki/spaces/KSTORAGE/pages/2789510112/One-Pager+Restore+FTPS+for+Compacted+Topics

This PR also increases the TierObjectMetadata.INITIAL_BUFFER_SIZE to 136

There will be a follow up PR to add the `parentObjectIds` field.
上级 87d7b202
No related branches found
No related tags found
加载中
显示
153 个添加30 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册