sumitagrawl commented on PR #4880: URL: https://github.com/apache/ozone/pull/4880#issuecomment-1605578924
> > @ArafatKhan2198 Thanks working over this, have a query; > > > > * can this be done over event of SCM db sync or SCM db update? instead of running every 60 second ? > > Thanks for the response @sumitagrawl Currently, all the Recon SCM Tasks run on configurable intervals, and we do not have a framework similar to the one implemented for Om-Db that supports both `Full-Snapshots` and `Delta-Updates`. Many members of the community have requested this feature, since this will be a completely new requirement we are planning to address it in separate JIRA tasks very soon. However, at present, we have to rely on time intervals to execute this task, similar to how the other SCM tasks are handled. @ArafatKhan2198 For Deleted_Block table, getting record count, this information needs to be created at Recon side also. So trigger can be, - SCM DB full sync or partial DB sync or query to get this information If there is no such sync, then this table count does not provide any benefits. If there is a sync in some form, then this can be a trigger for doing a count task. Also Recon do not take participate in Ratis, so this also do not get sync as ratis transaction, Please check the usecase for having table count... -- 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]
