You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "duongkame (via GitHub)" <gi...@apache.org> on 2024/09/26 23:12:28 UTC
[PR] HDDS-11485. Datanode doesn't report volume unhealthy when V3 DB folder doesn't exist [ozone]
duongkame opened a new pull request, #7240:
URL: https://github.com/apache/ozone/pull/7240
## What changes were proposed in this pull request?
See HDDS-11485.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11485
## How was this patch tested?
Tested locally with the following scenario:
1. Create a test docker cluster with 3 datanodes, each datanodes has a volume configured at `/data/hdds/hdds`.
2. Go to a datanode, remove the database folder under the volume: `/data/hdds/hdds/CID-<cluster id>/DS-<storage id>`
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-11485. Datanode doesn't report volume unhealthy when V3 DB folder doesn't exist [ozone]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #7240: HDDS-11485. Datanode doesn't report volume unhealthy when V3 DB folder doesn't exist
URL: https://github.com/apache/ozone/pull/7240
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-11485. Datanode doesn't report volume unhealthy when V3 DB folder doesn't exist [ozone]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #7240: HDDS-11485. Datanode doesn't report volume unhealthy when V3 DB folder doesn't exist
URL: https://github.com/apache/ozone/pull/7240
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-11485. Datanode doesn't report volume unhealthy when V3 DB folder doesn't exist [ozone]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #7240:
URL: https://github.com/apache/ozone/pull/7240#issuecomment-2439074342
Thank you very much for the patch. I am closing this PR __temporarily__ as there was no activity recently and it is waiting for response from its author.
It doesn't mean that this PR is not important or ignored: feel free to reopen the PR at any time.
It only means that attention of committers is not required. We prefer to keep the review queue clean. This ensures PRs in need of review are more visible, which results in faster feedback for all PRs.
If you need ANY help to finish this PR, please [contact the community](https://github.com/apache/hadoop-ozone#contact) on the mailing list or the slack channel."
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-11485. Datanode doesn't report volume unhealthy when V3 DB folder doesn't exist [ozone]
Posted by "aswinshakil (via GitHub)" <gi...@apache.org>.
aswinshakil commented on code in PR #7240:
URL: https://github.com/apache/ozone/pull/7240#discussion_r1778981173
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/HddsVolume.java:
##########
@@ -357,12 +357,14 @@ public void loadDbStore(boolean readOnly) throws IOException {
File storageIdDir = new File(clusterIdDir, getStorageID());
if (!storageIdDir.exists()) {
+ dbLoadFailure.set(true);
Review Comment:
Should we add this to line 354 where the `clusterIdDir` doesn't exist?
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-11485. Datanode doesn't report volume unhealthy when V3 DB folder doesn't exist [ozone]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #7240:
URL: https://github.com/apache/ozone/pull/7240#issuecomment-2542582272
Thank you very much for the patch. I am closing this PR __temporarily__ as there was no activity recently and it is waiting for response from its author.
It doesn't mean that this PR is not important or ignored: feel free to reopen the PR at any time.
It only means that attention of committers is not required. We prefer to keep the review queue clean. This ensures PRs in need of review are more visible, which results in faster feedback for all PRs.
If you need ANY help to finish this PR, please [contact the community](https://github.com/apache/hadoop-ozone#contact) on the mailing list or the slack channel."
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-11485. Datanode doesn't report volume unhealthy when V3 DB folder doesn't exist [ozone]
Posted by "duongkame (via GitHub)" <gi...@apache.org>.
duongkame commented on code in PR #7240:
URL: https://github.com/apache/ozone/pull/7240#discussion_r1779006058
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/HddsVolume.java:
##########
@@ -357,12 +357,14 @@ public void loadDbStore(boolean readOnly) throws IOException {
File storageIdDir = new File(clusterIdDir, getStorageID());
if (!storageIdDir.exists()) {
+ dbLoadFailure.set(true);
Review Comment:
"Nonexisting clusterIdDir" is considered as NOT_FORMATTED, and the who structure is recreated when loading.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org