-
Notifications
You must be signed in to change notification settings - Fork 168
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
loadtimezone and n_sec impl is slow in starrocks #212
Comments
I'm afraid your report lacks enough context so as to render it unactionable. If you believe any CCTZ functions are doing unnecessary work, or have ideas about optimizations, please submit your detailed thoughts. Thanks. |
First, change normal lock to readwrite lock in LoadTimeZone method |
about read write lock, see pull #214 before modify, lock has race condition after this, lock's hot will decrease brpc's lock info inside LoadTimeZone will down |
what's the period of new version comes out? |
other olap use cctz, it occure 2 function inside cctz
n_sec and loadTimeZone
it calls too much time, so kernel goes the spin_lock_slowpath
The text was updated successfully, but these errors were encountered: