Abhishek Pal created HDDS-14665:
-----------------------------------

             Summary: Add upgrade handling to S3Multipart requests
                 Key: HDDS-14665
                 URL: https://issues.apache.org/jira/browse/HDDS-14665
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Abhishek Pal
            Assignee: Abhishek Pal


If we introduce a new schema, new writes may happen while we are in 
pre-finalize state.
This means client might start writing with new schema version. But what happens 
if they want to downgrade from that point?

So we need to add checks such that if the upgrade finalization has not been 
done i.e. layout version still doesn't support the split table functionality, 
new writes should be enforced with *schemaVersion: 0*.
Similar checks must be added to other requests where if any existing write is 
happening with schemaVersion: 1 and the layout version doesn't support split 
table, then we must throw error.



--
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