elek opened a new pull request #2434:
URL: https://github.com/apache/ozone/pull/2434


   ## What changes were proposed in this pull request?
   
   Freon does have an offline generator test suite to generate quickly local 
data (rocksdb + container) for load testing.
   
   But today, the datanode generator doesn't support different replication sets 
for the same node. Containers are generated in a way where the replication sets 
("pipelines") are always include the same nodes:
   
   
![image](https://user-images.githubusercontent.com/170549/126157023-0a2e6ec8-4705-4754-a706-19a28c84bf7e.png)
   
   In this case, if `node1` is down, only `node2` and `node3` can be used as 
the source of the nodes.
   
   With multi-raft option enabled, it's possible to have a placement were more 
than two nodes are used as source.
   
   This patch uses a very simple permutation based approach to have similar 
layout but still keep the generation to be predictable.
   
   With the new `--overlap` argument, different containers can have slightly 
different replication set / pipelines:
   
   
![image](https://user-images.githubusercontent.com/170549/126157328-2f2e068c-5d39-49dd-9021-83358d54e60c.png)
   Please replace this section with the link to the Apache JIRA)
   
   ## How was this patch tested?
   
   Unit test is added for the new placement calculation.


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

To unsubscribe, e-mail: [email protected]

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