[
https://issues.apache.org/jira/browse/HDDS-9607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
GuoHao updated HDDS-9607:
-------------------------
Description:
When uploading a file with the same name using a slice overwrite, if the number
of previous copies is not the same as the current one, the meta information is
updated incorrectly.
Example:
1. a file with the name a is uploaded the first time it is ratis 3 factor
2. the second time a file with the same name a is uploaded using multipart
upload it is ec-3-2-1024k
3. the replication config in the meta-information is recorded as ratis 3
factor, but it should actually be ec-3-2-1024k.
was:
When uploading a file with the same name using a slice overwrite, if the number
of previous copies is not the same as the current one, the meta information is
updated incorrectly.
Example:
1. a file with the name a is uploaded the first time it is ratis 3 factor
2. the second time a file with the same name a is uploaded using multipart
upload it is ec-3-2-1024k
3. the replication config in the meta-information is recorded as ratis 3
factor, but it should actually be ec-3-2-1024k.
> Overwrite file by multipart upload, saving wrong ReplicationConfig in KeyInfo
> -----------------------------------------------------------------------------
>
> Key: HDDS-9607
> URL: https://issues.apache.org/jira/browse/HDDS-9607
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: GuoHao
> Assignee: GuoHao
> Priority: Major
>
> When uploading a file with the same name using a slice overwrite, if the
> number of previous copies is not the same as the current one, the meta
> information is updated incorrectly.
>
> Example:
> 1. a file with the name a is uploaded the first time it is ratis 3 factor
> 2. the second time a file with the same name a is uploaded using multipart
> upload it is ec-3-2-1024k
> 3. the replication config in the meta-information is recorded as ratis 3
> factor, but it should actually be ec-3-2-1024k.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]