Uh oh!
There was an error while loading. Please reload this page.
HDDS-7275. Improve error logging when blocks cannot be allocated with RATIS THREE. - #5189
Conversation
errose28
commented
Aug 18, 2023
Thanks for improving this @SaketaChalamchala, this message has been confusing for users before. Could we also add a message summarizing why the allocation failed? For example, the log lines farther up in |
SaketaChalamchala
commented
Aug 25, 2023
Done. |
errose28
left a comment
There was a problem hiding this comment.
Functionally LGTM just minor comments remaining.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
errose28
left a comment
There was a problem hiding this comment.
Thanks for fixing this @SaketaChalamchala. CI will likely fail until #5217 is merged (should be soon). I will hold off running CI on this PR until that is resolved.
errose28
commented
Sep 5, 2023
Looks like #5217 is not progressing as fast as I thought, I will go ahead with the CI on this PR. |
errose28
commented
Sep 6, 2023
CI failures are fixed by #5217 |
…located with RATIS THREE. (apache#5189) (cherry picked from commit c5998ce) Change-Id: Ica0896fc6a7f0f2d0760948c14b5b284ff7f9df9
What changes were proposed in this pull request?
Current implementation returns a null and later on ScmBlockLocationProtocolServerSideTranslatorPB#allocateScmBlock() throws an exception with #blocks allocated and requested.
Proposed changed returns an exception when a block cannot be allocated after trying all possible strategies
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7275
How was this patch tested?
Manual.