Hi, I wanted to start a new thread to get consensus on the latest approach for the Ozone trash feature since it has been a while.
This is my understanding of the current plan from today's community call: Phase 1: HDDS-2416 - This will reuse the existing deletedTable for simplicity to help prove out the feature. - Since we are reusing the existing table, we will need to leverage the key modification time and bucket recovery window to help determine what keys are eligible to be listed or recovered. Phase 2: HDDS-3367 (I believe this is the primary Jira, but keep me honest here) - This will introduce a new table, trashTable, where we will initially move all trash eligible keys to when deleted. - A separate trash removal thread will help purge the trashTable. - Listing or recovering keys will be updated to only look at the trashTable. If anyone has any additional feedback on this please join in, otherwise this will be the plan to continue current development work. Thanks!