ChenSammi opened a new pull request, #10614:
URL: https://github.com/apache/ozone/pull/10614

   ## What changes were proposed in this pull request?
   
   add support in ldb scan command, to display DeletedBlocksTransactionSummary 
info. 
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-15664
   
   ## How was this patch tested?
   
   Manual test
   
   ```
   root@vc1337:/var/log/hadoop-ozone# ozone admin scm deletedBlocksTxn summary
   RemoteException: SCM Server, while invoking 
StorageContainerLocationProtocolPB over node1. Retrying in 2000ms after 0 
failover attempt(s).
   DeletedBlocksTransaction summary:
     Total number of transactions: 43
     Total number of blocks: 43
     Total size of blocks: 2709
     Total replicated size of blocks: 8127
   
   
   root@vc1337:/var/log/hadoop-ozone# ozone debug ldb 
--db=/var/lib/hadoop-ozone/scm/data/scm.db/ scan --cf=statefulServiceConfig
   { "DeletedBlockLogStateManager": {
     "memoizedHashCode" : 0,
     "memoizedSize" : -1,
     "unknownFields" : {
       "fields" : { }
     },
     "bitField0_" : 15,
     "totalTransactionCount_" : 43,
     "totalBlockCount_" : 43,
     "totalBlockSize_" : 2709,
     "totalBlockReplicatedSize_" : 8127,
     "memoizedIsInitialized" : 1
   }
    }
   ```


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