JyotinderSingh opened a new pull request #3081:
URL: https://github.com/apache/ozone/pull/3081


   ## What changes were proposed in this pull request?
   
   The Overview tab in Recon does not display the correct number of total keys 
in the cluster. Currently, only the keys present in `OBJECT_STORE` buckets are 
counted.
   
   This task is to add the keys present in `FILE_SYSYEM_OPTIMIZED` buckets to 
the count.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-6311
   
   ## How was this patch tested?
   
   Test Script
   ```bash
   # create volume + buckets
   ozone sh volume create /vol1
   ozone sh bucket create /vol1/bucket-obs
   ozone sh bucket create /vol1/bucket-fso --layout FILE_SYSTEM_OPTIMIZED
   ozone sh bucket list /vol1 
   
   # Add keys to OBS Bucket
   ozone sh key put /vol1/bucket-obs/key1 README.md 
   ozone sh key put /vol1/bucket-obs/not-a-dir/key1 README.md
   
   # Add keys to FSO bucket
   ozone sh key put /vol1/bucket-fso/dir1/key1 README.md
   ozone sh key put /vol1/bucket-fso/key2 README.md
   ozone sh key put /vol1/bucket-fso/dir1/dir3/key3 README.md
   ```
   
   UI (should display Number of keys = 5)
   
   <img width="1214" alt="Screenshot 2022-02-14 at 12 51 13 PM" 
src="https://user-images.githubusercontent.com/33001894/153817878-758c4ed0-08bd-4d47-ab3e-49a584bcec0e.png";>
   
   


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