You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/04/08 10:00:14 UTC

[GitHub] [ozone] elek commented on pull request #2096: HDDS-5047. Refactor Pipeline to use ReplicationConfig instead of factor/type

elek commented on pull request #2096:
URL: https://github.com/apache/ozone/pull/2096#issuecomment-815628999


   > How does a new client can still work with old server?
   
   Good question. The trick here is that we don't do any protobuf modifications. We serialize the protobuf content to a new Java object structure which makes it possible to handle additional parameters (for example: EC can handle more properties instead of just the one `replicationFactor`). 
   
   ![image](https://user-images.githubusercontent.com/170549/114007613-ca681300-9861-11eb-9222-2a98c1fc3c18.png)
   
   This patch modifies the SCM to use `replicationConfig` everywhere, but the logic is the same as before. With this approach on the EC branch we can add a new replicationConfig implementation and all the pipeline managers will serve it.


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org