Uh oh!
There was an error while loading. Please reload this page.
HDDS-1868. Ozone pipelines should be marked as ready only after the leader election is complete. - #23
Conversation
mukul1987
left a comment
There was a problem hiding this comment.
The patch looks good to me.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nandakumar131
left a comment
There was a problem hiding this comment.
Overall the change looks ok.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
swagle
commented
Oct 16, 2019
Thank you @mukul1987 and @nandakumar131 for the reviews. |
mukul1987
commented
Oct 18, 2019
Thanks for updating the patch @swagle. There are some checkstyle issues in the latest patch and there are some test failures regarding pipeline esp along with the safe mode pipeline rules. Can you please take a look at the failures. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
swagle
commented
Oct 21, 2019
/retest |
vivekratnavel
commented
Oct 23, 2019
/retest |
1 similar comment
elek
commented
Oct 23, 2019
/retest |
There was a problem hiding this comment.
There is no real change here, can we revert it?
There was a problem hiding this comment.
The leaderID was marked as optional.
There was a problem hiding this comment.
nitpick: We can make it strongly typed by making the type as DatanodeDetails
There was a problem hiding this comment.
But if I do that, in order to construct Pipeline from proto, I have to lookup DatanodeDetails based on UUID, which is a map in NodeManager. Not sure why making this into DatanodeDetails is better?
There was a problem hiding this comment.
It is just that it will be explicit what this UUID represent.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nandakumar131
commented
Nov 11, 2019
/retest |
nandakumar131
commented
Nov 11, 2019
We can commit this after the Jenkins run. |
nandakumar131
commented
Nov 12, 2019
Test failure seems unrelated, merging this. |
Ozone pipeline on create and restart, start in allocated state. They are moved into open state after all the pipeline have reported to it. However, this potentially can lead into an issue where the pipeline is still not ready to accept any incoming IO operations.
The pipelines should be marked as ready only after the leader election is complete and leader is ready to accept incoming IO.