Uh oh!
There was an error while loading. Please reload this page.
HDDS-8339. Recon Show the number of keys marked for Deletion in Recon UI. - #4519
Conversation
ArafatKhan2198
commented
Apr 3, 2023
@smitajoshi12 Instead of naming the tile "Number of Deleted Keys," let's call it "Pending key Deletions" as this number represents the keys marked for deletion. They will be deleted eventually by the |
ArafatKhan2198
commented
Apr 3, 2023
@smitajoshi12, please position the "Deleted Keys" tile after the "Keys" tile, allowing users to easily compare both numbers simultaneously. |
kerneltime
commented
Apr 3, 2023
@devmadhuu can you please take a look? |
There was a problem hiding this comment.
thanks for working on this @smitajoshi12! I left a few comments inline, please take a look
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
smitajoshi12
commented
Apr 5, 2023
Done |
Uh oh!
There was an error while loading. Please reload this page.
dombizita
commented
Apr 14, 2023
thanks for updating your patch @smitajoshi12, now for me with this check it is not showing 0 in case there is no key/bucket/pending delete key. I attached a screenshot (I did a docker cluster locally with your changes), please check it. |
@dombizita |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dombizita
left a comment
There was a problem hiding this comment.
thanks for working on this @smitajoshi12, it looks good to me!
Uh oh!
There was an error while loading. Please reload this page.
… UI. Revert Back keysPendingDeletion key chnages
ArafatKhan2198
commented
May 9, 2023
@smitajoshi12 can you please check the UT's that are failing. |
smitajoshi12
commented
May 9, 2023
@dombizita@smengcl@devmadhuu |
dombizita
commented
May 15, 2023
thanks for working on this patch @smitajoshi12! thanks for the review @ArafatKhan2198, @devmadhuu and @smengcl! |
* master: (78 commits) HDDS-8575. Intermittent failure in TestCloseContainerEventHandler.testCloseContainerWithDelayByLeaseManager (apache#4688) HDDS-7241. EC: Reconstruction could fail with orphan blocks. (apache#4718) HDDS-8577. [Snapshot] Disable compaction log when loading metadata for snapshot (apache#4697) HDDS-7080. EC: Offline reconstruction needs better logging (apache#4719) HDDS-8626. Config thread pool in ReplicationServer (apache#4715) HDDS-8616. Underreplication not fixed if all replicas start decommissioning (apache#4711) HDDS-8254. Close containers when volume reaches utilisation threshold (apache#4583) HDDS-8254. Close containers when volume reaches utilisation threshold (apache#4583) HDDS-8615. Explicitly show EC block type in 'ozone debug chunkinfo' command output (apache#4706) HDDS-8623. Delete duplicate getBucketInfo in OMKeyCommitRequest (apache#4712) HDDS-8339. Recon Show the number of keys marked for Deletion in Recon UI. (apache#4519) HDDS-8572. Support CodecBuffer for protobuf v3 codecs. (apache#4693) HDDS-8010. Improve DN warning message when getBlock does not find the block. (apache#4698) HDDS-8621. IOException is never thrown in SCMRatisServer.getRatisRoles(). (apache#4710) HDDS-8463. S3 key uniqueness in deletedTable (apache#4660) HDDS-8584. Hadoop client write slowly when stream enabled (apache#4703) HDDS-7732. EC: Verify block deletion from missing EC containers (apache#4705) HDDS-8581. Avoid random ports in integration tests (apache#4699) HDDS-8504. ReplicationManager: Pass used and excluded node separately for Under and Mis-Replication (apache#4694) HDDS-8576. Close RocksDB instance in RDBStore if RDBStore's initialization fails after RocksDB instance creation (apache#4692) ...


What changes were proposed in this pull request?
This information will be displayed on the overview page of recon which gets populated with the information provided by the ClusterStateEndpoint This information can be useful for auditing, compliance, and troubleshooting purposes. Hence in short the main purpose is to get a quick idea of the deletion progress.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8339
How was this patch tested?
Manually