[ https://issues.apache.org/jira/browse/HDDS-6474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545020#comment-17545020 ]
Uma Maheswara Rao G edited comment on HDDS-6474 at 6/1/22 4:39 PM: ------------------------------------------------------------------- The original discuss issue covered and fixed in FSO new list status implementation at HDDS-6788 This issue added the test case for the same. Thanks a lot [~aswinshakil] for the great dedicated investigation on this issue and figured out the actual root cause. Appreciated ! was (Author: umamaheswararao): The original discuss issue covered and fixed in FSO new list status implementation at This issue added the test case for the same. Thanks a lot [~aswinshakil] for the great dedicated investigation on this issue and figured out the actual root cause. Appreciated ! > Add test to cover the FSO bucket list status with beyond batch boundary and > cache > --------------------------------------------------------------------------------- > > Key: HDDS-6474 > URL: https://issues.apache.org/jira/browse/HDDS-6474 > Project: Apache Ozone > Issue Type: Bug > Affects Versions: 1.2.0 > Reporter: mengqi > Assignee: Aswin Shakil Balasubramanian > Priority: Major > Labels: pull-request-available > Fix For: 1.3.0 > > > I put 10000 file (file name is 0001 - 10000) to a File system optimized > bucket dir /user/filesystemoptimizedbucket/test and list the dir ,found > something wrong. > ./bin/ozone fs -ls /user/filesystemoptimizedbucket/test | wc -l > only 5000+ files found , not 10000。 so I read the source code ,and found the > issue in the function > org.apache.hadoop.ozone.om.KeyManagerImpl#getFilesFromDirectory > after listStatusFindFilesInTableCache, countEntries should be set into 0. > so we can find all files from keyTable.iterator . > I fix the issue, someone can review it ? > [fix fso > list|https://github.com/Mengqi777/ozone/commit/df3097388c89bec06e433f945dce271f4d4c2212] > > Note: Currently this issue is covered and fixed as part of new FSO list > status implementation in HDDS-6788. > SO, this issue repurposed to add the respective coverage test case. -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org