[
https://issues.apache.org/jira/browse/HDDS-16046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Janus Chow updated HDDS-16046:
------------------------------
Description:
This ticket includes the following tasks:
|*Sub-task*|*Scope*|*Acceptance*|
|T4.1 read by versionId|GET/HEAD/LOOKUP with versionId (incl. null
addressing)|current / noncurrent / null addressing all read correctly; a
request without a versionId still reads the current version unchanged; naming
the current version's id performs no versionedKeyTable read; an unknown
versionId returns KEY_NOT_FOUND; a current delete marker read without a
versionId returns KEY_NOT_FOUND; a versionId addressing a delete marker,
current or not, returns KEY_IS_DELETE_MARKER; versions behind a marker stay
readable by versionId; a versionId against an FSO or LEGACY bucket returns
NOT_SUPPORTED_OPERATION.|
|T4.2 permanent delete (non-current)|DELETE ?versionId= on noncurrent versions;
blocks to deletedTable|the targeted version disappears, others unaffected;
quota deducted|
|T4.3 version promotion|deleting current triggers the §4.5 switch (incl. marker
deletion / object restore)|next-newest promoted with content unchanged field by
field; key disappears after its only version is deleted; restore flow tested
end to end|
was:
This ticket includes the following tasks:
|*Sub-task*|*Scope*|*Acceptance*|
|T4.1 read by versionId|GET/HEAD/LOOKUP with versionId (incl. null
addressing)|current / noncurrent / null reads correct; unknown versionId → 404|
|T4.2 permanent delete (non-current)|DELETE ?versionId= on noncurrent versions;
blocks to deletedTable|the targeted version disappears, others unaffected;
quota deducted|
|T4.3 version promotion|deleting current triggers the §4.5 switch (incl. marker
deletion / object restore)|next-newest promoted with content unchanged field by
field; key disappears after its only version is deleted; restore flow tested
end to end|
> [Ozone versioning] [T4] Read / permanent delete by versionId + promotion
> ------------------------------------------------------------------------
>
> Key: HDDS-16046
> URL: https://issues.apache.org/jira/browse/HDDS-16046
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Janus Chow
> Assignee: Janus Chow
> Priority: Major
> Labels: pull-request-available
>
> This ticket includes the following tasks:
> |*Sub-task*|*Scope*|*Acceptance*|
> |T4.1 read by versionId|GET/HEAD/LOOKUP with versionId (incl. null
> addressing)|current / noncurrent / null addressing all read correctly; a
> request without a versionId still reads the current version unchanged; naming
> the current version's id performs no versionedKeyTable read; an unknown
> versionId returns KEY_NOT_FOUND; a current delete marker read without a
> versionId returns KEY_NOT_FOUND; a versionId addressing a delete marker,
> current or not, returns KEY_IS_DELETE_MARKER; versions behind a marker stay
> readable by versionId; a versionId against an FSO or LEGACY bucket returns
> NOT_SUPPORTED_OPERATION.|
> |T4.2 permanent delete (non-current)|DELETE ?versionId= on noncurrent
> versions; blocks to deletedTable|the targeted version disappears, others
> unaffected; quota deducted|
> |T4.3 version promotion|deleting current triggers the §4.5 switch (incl.
> marker deletion / object restore)|next-newest promoted with content unchanged
> field by field; key disappears after its only version is deleted; restore
> flow tested end to end|
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]