xichen01 commented on PR #7548:
URL: https://github.com/apache/ozone/pull/7548#issuecomment-2543095815

   @errose28 Thanks for your questions.
   
   > except that it is expected to run faster because it is only checking block 
existence
   
   Yes, it performs better, and in our internal version, with 6 buckets checked 
in parallel, the total QPS can be around 70k. And the main bottleneck is OM's 
`ListKeys`.
   
   > Could we just add a flag to that command to tell it to only pull block 
metadata and accomplish the same result ?
   
   Do you mean we just check the DN Block in RocksDB, not to check the disk 
Block file? I think it's possible.
   
   >  how does the proposed `headBlock` differ from the existing `getBlock` 
request
   
    `headBlock` (which may be called something else) checks a number of Blocks 
at a time instead of one, and his return value can be simpler, i.e., it only 
returns the Block that is an exception, since it only checks for existence.


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