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

   
   `ReconApi.md` lists `fileSize` as optional and describes it as "Filters the
   results based on the given fileSize", with no stated dependency on the other
   two parameters. This patch makes the code match the documented behaviour by
   applying the `fileSize` filter independently in the scan branch. 
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-16375
   
   ## How was this patch tested?
   
   Extended `TestEndpoints#testGetFileCounts` with the four parameter 
combinations
   that were previously uncovered: `fileSize` alone, `volume` + `fileSize`,
   `bucket` + `fileSize`, and a `fileSize` that is not a bin upper bound with no
   volume or bucket. The first two reproduce the measurements above and fail
   without the fix. The existing assertions for the other combinations are
   unchanged.
   
   Verified by a full `build-branch` workflow run on the fork.
   
   


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