You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "sadanand48 (via GitHub)" <gi...@apache.org> on 2024/12/11 07:30:25 UTC
[PR] HDDS-11911. Fix ResultCode when snapshot is not found in the DB or Snapshot Chain. [ozone]
sadanand48 opened a new pull request, #7557:
URL: https://github.com/apache/ozone/pull/7557
## What changes were proposed in this pull request?
When the snapshot is deleted/purged , and it is removed either from DB or from the snapshot chain the exceptions thrown are not consistent.
If a snapshot is not found in table/chain, it should throw OMException with result code FILE_NOT_FOUND
Please check details in HDDS-11911
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11911
## How was this patch tested?
Unit test
--
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-11911. Return consistent error code when snapshot is not found in the DB or Snapshot Chain. [ozone]
Posted by "sadanand48 (via GitHub)" <gi...@apache.org>.
sadanand48 commented on PR #7557:
URL: https://github.com/apache/ozone/pull/7557#issuecomment-2536809413
> but do we need to change them as well?
sure, lets change it.
--
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-11911. Return consistent error code when snapshot is not found in the DB or Snapshot Chain. [ozone]
Posted by "sadanand48 (via GitHub)" <gi...@apache.org>.
sadanand48 merged PR #7557:
URL: https://github.com/apache/ozone/pull/7557
--
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-11911. Return consistent error code when snapshot is not found in the DB or Snapshot Chain. [ozone]
Posted by "sadanand48 (via GitHub)" <gi...@apache.org>.
sadanand48 commented on PR #7557:
URL: https://github.com/apache/ozone/pull/7557#issuecomment-2537792014
Thanks @hemantk-12 for the review.
--
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