-
Notifications
You must be signed in to change notification settings - Fork 470
DOC-13785 Product Change- PR #147169 - release-25.2: add log and metric for identifying clear access direction #19748
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
base: main
Are you sure you want to change the base?
Conversation
…and clear direction metrics and logs.
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for putting this together. I'm a bit confused looking at the guidance and explanation of the logs.
|
||
This log message can usually be ignored. However, if it appears repeatedly, it may indicate a load imbalance in the cluster. A load imbalance might occur if a [hot range]({% link {{ page.version.version }}/understand-hotspots.md %}#hot-range) cannot be split because it is effectively a [hot key]({% link {{ page.version.version }}/understand-hotspots.md %}#row-hotspot). For more information about how to reduce hotspots (including hot ranges) on your cluster, refer to [Understand hotspots]({% link {{ page.version.version }}/understand-hotspots.md %}). | ||
|
||
The log message ends with one of the following string combinations, indicating the observed load pattern: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps more of a question for @angles-n-daemons,
- If there is "no split key found:" doesn't that imply that there was a popular key and thus is the 'hot key' scenario? What does it mean to have "popular key" and "clear direction detected"? Clear direction implies hot index correct?
clear direction detected indicates that accesses within the range progress steadily in one direction, either increasing or decreasing key order.
Should we call out 'hot index'? (Relatedly to my question above, i'm assuming this error points to a hot index issue.
Fixes DOC-13785 DOC-13379
In load-based-splitting.md, updated monitor section with popular key and clear direction metrics and logs.
Rendered preview
Monitor load-based splitting