You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "andyhuangdev (via GitHub)" <gi...@apache.org> on 2026/10/12 05:23:00 UTC

[PR] HDDS-16885. Fix negative DELETE command verification in TestMoveManager [ozone]

andyhuangdev opened a new pull request, #11483:
URL: https://github.com/apache/ozone/pull/11483

   ## What changes were proposed in this pull request?
   
   Four negative checks in TestMoveManager verify the four-argument ReplicationManager.sendDeleteCommand overload, while MoveManager calls the five-argument overload that includes a deadline. These checks therefore pass even when a source DELETE is sent through the five-argument overload.
   
   This patch adds anyLong() to those checks so they verify the overload used by MoveManager. The tests can then detect unexpected source deletion when the source replica is missing, the source datanode is unhealthy or not in service, or deletion would violate the container replication health requirements.
   
   This is a test-only change.
   
   ## What is the link to the Apache JIRA
   
   [HDDS-16885](https://issues.apache.org/jira/browse/HDDS-16885)
   
   ## How was this patch tested?
   
   - Ran TestMoveManager with JDK 21 after a clean build of SCM and its dependencies: 25 tests passed.
   - Ran ./hadoop-ozone/dev-support/checks/checkstyle.sh: passed.
   - Ran git diff --check: passed.


-- 
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-16885. Fix negative DELETE command verification in TestMoveManager [ozone]

Posted by "chihsuan (via GitHub)" <gi...@apache.org>.
chihsuan merged PR #11483:
URL: https://github.com/apache/ozone/pull/11483


-- 
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