Re: [DISCUSS] RetryCount in DeletedBlockLogImp in SCM

2021-01-14 Thread Rui Wang
Thank you Lokesh. I created a JIRA to track this idea: https://issues.apache.org/jira/browse/HDDS-4708 -Rui On Thu, Jan 14, 2021 at 10:57 PM Lokesh Jain wrote: > Hi Rui > > I think that would be a very good optimisation. +1 It would reduce the > number of updates made to delete table as well.

Re: [DISCUSS] RetryCount in DeletedBlockLogImp in SCM

2021-01-14 Thread Lokesh Jain
Hi Rui I think that would be a very good optimisation. +1 It would reduce the number of updates made to delete table as well. > The drawback of only updating retrycount at the limit is, if SCM restart at For this I would suggest we also update the retry count in intervals of 100(or some other v

[DISCUSS] RetryCount in DeletedBlockLogImp in SCM

2021-01-13 Thread Rui Wang
Hi Community, SCM maintains a DeleteBlockTransaction table [1]. For each transaction record in this table, there is a retry count [2]. This retry count increases every time when SCM retries the delete transaction and until it exceeds the maximum limit, then SCM stops retrying and admin can analyze