For the records:

There was a demo at yesterday's community meeting about using trash.

If I understood well, it's a third approach, similar to the HDFS

The design doc is uploaded yesterday to https://issues.apache.org/jira/browse/HDDS-3367

(But I also found a design doc in the comments:

https://docs.google.com/document/d/1fpmmnuhcCI-ATZfhhQmADq1J49Kawi9_UffcLVeuabQ)


I am not sure about the current state. Is there any consensus on the new approach? Or still under discussion?


Marton


On 11/9/20 7:45 PM, Matthew Sharp wrote:
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!


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ozone.apache.org
For additional commands, e-mail: dev-h...@ozone.apache.org

Reply via email to