arp7 edited a comment on pull request #1973:
URL: https://github.com/apache/ozone/pull/1973#issuecomment-804276260


   Thanks @elek for filling out the table.
   
   A few questions on row 3 from the table:
   
   > can be done until we store old factor/type everywhere (finalize)
   
   Are you proposing we stop storing the old factor/type after finalize? Also 
until finalize will you be storing both or just the old factor/type? If you do 
store ReplicationConfig prior to finalize what will be the OMs behavior on 
downgrade. Will it choke on seeing the unknown type in RAFT log or DB, or just 
ignore it. My guess is the latter, since we use protobuf serialization but it 
will be good to have a definite answer. In either case you will need to hook 
with the upgrade process somehow to determine that there is an upgrade in 
progress. 
   
   Secondly, what if someone sends a scheme that cannot be converted to old 
factor/type **before** the upgrade is finalized? Should we fail the request? It 
will be good to collect these points and table in either a short doc or in the 
jira description so folks more familiar with the upgrade path like @avijayanhwx 
can take a look too.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to