Janus Chow created HDDS-15946:
---------------------------------

             Summary: [Ozone versioning] VersionId generation strategy framework
                 Key: HDDS-15946
                 URL: https://issues.apache.org/jira/browse/HDDS-15946
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Janus Chow
            Assignee: Janus Chow


This ticket includes the follows tasks:
|*Sub-task*|*Scope*|*Acceptance*|
|T2.1 interface + default strategy|VersionIdGenerator interface; 
TRANSACTION_INDEX implementation (transaction-index derivation); the 
ozone.om.versioning.version-id-strategy config|monotonic/frozen/0-reserved 
constraints unit-tested; default path carries no allocator state (no extra 
reads/writes)|
|T2.2 bucket strategy pinning|write the strategy into bucket metadata when 
versioning is first enabled; immutable afterwards|changing the cluster config 
does not affect already-enabled buckets (unit test); proto compatible|
|T2.3 PINNED_FIRST strategy|first-version detection (no current in keyTable) + 
FIRST_VERSION_ID sentinel + configurable rendering (fixed literal / 
keyName-derived)|first PUT gets the sentinel, later PUTs get transaction 
indexes (unit test); GET ?versionId=0 reads the first version; sentinel does 
not collide with the null slot (0)|



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to