-
Notifications
You must be signed in to change notification settings - Fork 425
OAK-11697: Indexing / query limit / traversal error: improve diagnostics #2626
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: trunk
Are you sure you want to change the base?
Conversation
Extended logging and error message.
Minor optimization.
Minor optimization.
reschke
left a comment
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.
and the extended exception messsage will propagate up? maybe add a simple test case?
Re-formatted diagnostic text, added test case.
|
reschke
left a comment
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.
LGTM, but it would be nice to hear from @thomasmueller
| traversal = queryOptions.traversal; | ||
| } | ||
| String caller = IndexUtils.getCaller(settings.getIgnoredClassNamesInCallTrace()); | ||
| String message = "Traversal query (query without index): " + statement + "; called by " + caller + "; consider creating an index"; |
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.
would indeed be nice to refactor this slightly



No description provided.