cychiu8 commented on code in PR #11897:
URL: https://github.com/apache/ozone/pull/11897#discussion_r4573334499


##########
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/key/TestOMKeyCommitRequest.java:
##########
@@ -571,6 +571,47 @@ public void testCommitWithHsyncUsedNamespace() throws 
Exception {
     assertEquals(1, bucketInfo.getUsedNamespace());
   }
 
+  @Test
+  public void testRejectedOverwriteCommitKeepsHsyncedKeyWritable() throws 
Exception {

Review Comment:
   You mentioned a good point! I should also consider this situation. I also 
added the `testRejectedAtomicRewriteCommitKeepsHsyncedKeyWritable` to test the 
situation.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to