You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/11/02 10:29:34 UTC
[GitHub] [ozone] sadanand48 commented on a diff in pull request #3893: HDDS-7423. DB Scanner should allow iteration from specific key
sadanand48 commented on code in PR #3893:
URL: https://github.com/apache/ozone/pull/3893#discussion_r1006987653
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestLDBCli.java:
##########
@@ -113,6 +113,7 @@ public void testOMDB() throws Exception {
}
rdbParser.setDbPath(dbStore.getDbLocation().getAbsolutePath());
dbScanner.setParent(rdbParser);
+ dbScanner.setStartKey("/sampleVol/sampleBuck/key3");
Review Comment:
If we're setting startKey as `/sampleVol/sampleBuck/key3` ,it has to output only 3 keys whereas next line we are asserting for 5. The format here should be `dbScanner.setStartKey("key3") `here and lets add this case after all other cases in this 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