Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid frequantly syncing stats simultaneously #54481

Open
hawkingrei opened this issue Jul 5, 2024 · 0 comments · May be fixed by #54480
Open

avoid frequantly syncing stats simultaneously #54481

hawkingrei opened this issue Jul 5, 2024 · 0 comments · May be fixed by #54480

Comments

@hawkingrei
Copy link
Member

hawkingrei commented Jul 5, 2024

Enhancement

Now, StatsCacheImpl.Update can sync stats by version from the storage. we have many scenarios to call it. such as domain.loadStatsWorker and Analyze. When customers use lightning, lightning will trigger the multi-analyzed tasks simultaneously. so it also triggers multi StatsCacheImpl.Update simultaneously. it is unnecessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant