Tejaskriya commented on code in PR #7222:
URL: https://github.com/apache/ozone/pull/7222#discussion_r1770600519
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/DBScanner.java:
##########
@@ -289,33 +289,60 @@ private void processRecords(ManagedRocksIterator iterator,
long count = 0;
List<Future<Void>> futures = new ArrayList<>();
boolean reachedEnd = false;
+
+ Map<String, Filter> fieldsFilterSplitMap = new HashMap<>();
+ if (filter != null) {
+ for (String field : filter.split(",")) {
Review Comment:
The aim of having this loop is to pass multiple filters like
`dataSize:lesser:500, bucketName:equal:bucket1`. It is to apply filters to
different fields, not on the same field.
I will add some more tests to cover the scenario.
--
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]