nandakumar131 commented on PR #5541:
URL: https://github.com/apache/ozone/pull/5541#issuecomment-1813978661
A container is part of only one Pipeline at any point of time. When the
container is in `OPEN/CLOSING` state they are managed by Ratis Pipeline.
Once the container is `CLOSED/QUASI_CLOSED`, they are managed using Simple
Pipeline.
Simple Pipelines are kinda ephemeral, they are easy to create and are
stateless. Simple Pipeline informations are not stored.
Whenever a client requests for the Pipeline of `CLOSED/QUASI_CLOSED`
Container, Simple Pipeline is created on the fly and handed over to the client,
so the PipelineID is randomly generated. This causes the PipelineID to change
every time. This is expected behaviour.
One improvement that we can do is to try and generate the same PipelineID
every time (for the same set of Datanodes) using `UUID.nameUUIDFromBytes` API.
By doing this we will be generating the same PipelineID for every call for same
set of Datanodes.
--
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]