You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Nitin-Kashyap (via GitHub)" <gi...@apache.org> on 2024/07/15 03:55:54 UTC
[PR] (feature)[storage] Added disk decommission and hotswap disk feasibility [doris]
Nitin-Kashyap opened a new pull request, #37784:
URL: https://github.com/apache/doris/pull/37784
## Proposed changes
Added ADMIN command to decommission disk, so that disk can be hotswapped without restart Backends.

Issue Number: close #xxx
<!--Describe your changes.-->
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](storage) Added disk decommission and hotswap disk feasibility [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #37784:
URL: https://github.com/apache/doris/pull/37784#issuecomment-2230093271
clang-tidy review says "All clean, LGTM! :+1:"
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](storage) Added disk decommission and hotswap disk feasibility [doris]
Posted by "dataroaring (via GitHub)" <gi...@apache.org>.
dataroaring commented on PR #37784:
URL: https://github.com/apache/doris/pull/37784#issuecomment-2227667702
What about adding back a disk without restarting be?
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](storage) Added disk decommission and hotswap disk feasibility [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #37784:
URL: https://github.com/apache/doris/pull/37784#issuecomment-2227672096
clang-tidy review says "All clean, LGTM! :+1:"
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] (feature)[storage] Added disk decommission and hotswap disk feasibility [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #37784:
URL: https://github.com/apache/doris/pull/37784#issuecomment-2227660078
Thank you for your contribution to Apache Doris.
Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR)
Since 2024-03-18, the Document has been moved to [doris-website](https://github.com/apache/doris-website).
See [Doris Document](https://cwiki.apache.org/confluence/display/DORIS/Doris+Document).
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](storage) Added disk decommission and hotswap disk feasibility [doris]
Posted by "Nitin-Kashyap (via GitHub)" <gi...@apache.org>.
Nitin-Kashyap commented on PR #37784:
URL: https://github.com/apache/doris/pull/37784#issuecomment-2227680118
> What about adding back a disk without restarting be?
@dataroaring : thats RECOMMISSION command.
I had attached a screen shot in description.

--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](storage) Added disk decommission and hotswap disk feasibility [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #37784:
URL: https://github.com/apache/doris/pull/37784#issuecomment-2227670285
clang-tidy review says "All clean, LGTM! :+1:"
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](storage) Added disk decommission and hotswap disk feasibility [doris]
Posted by "morrySnow (via GitHub)" <gi...@apache.org>.
morrySnow commented on code in PR #37784:
URL: https://github.com/apache/doris/pull/37784#discussion_r1686027042
##########
fe/fe-core/src/main/cup/sql_parser.cup:
##########
@@ -7854,6 +7855,18 @@ admin_stmt ::=
{:
RESULT = new AdminCancelRebalanceDiskStmt(null);
:}
+ | KW_ADMIN KW_DECOMMISSION KW_DISK string_list:disks KW_ON STRING_LITERAL:backend
+ {:
+ RESULT = new AdminDecommissionDiskStmt(backend, disks, false);
+ :}
+ | KW_ADMIN KW_DECOMMISSION KW_DISK KW_FORCE string_list:disks KW_ON STRING_LITERAL:backend
+ {:
+ RESULT = new AdminDecommissionDiskStmt(backend, disks, true);
+ :}
+ | KW_ADMIN KW_RECOMMISSION KW_DISK string_list:disks KW_ON STRING_LITERAL:backend
+ {:
+ RESULT = new AdminRecommissionDiskStmt(backend, disks);
+ :}
Review Comment:
could u add new statment to Nerieds directly? the legacy planner will be removed in future
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [feature](storage) Added disk decommission and hotswap disk feasibility [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #37784: [feature](storage) Added disk decommission and hotswap disk feasibility
URL: https://github.com/apache/doris/pull/37784
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org