You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/08/31 07:32:46 UTC

[GitHub] [hbase] arshadmohammad edited a comment on pull request #2331: HBASE-24940: runCatalogJanitor() API should return -1 to indicate already running status

arshadmohammad edited a comment on pull request #2331:
URL: https://github.com/apache/hbase/pull/2331#issuecomment-683616277


   When previous scan is progress return value is 0. This 0 indicates that no items are garbage collected. This is wrong because in actual there was not attempt to garbage collect any item. Purpose of this change  is to correct this wrong behavior to inform the user properly so they take correct actions.
   
   > By making it return -1, do we want client to wait for certain duration before retrying? Is that the purpose behind this change?
   
   It is up to the API user how they want to handle it.  yes, running after time could be one of the options


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org