-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Adjust knn merge stability testing #14172
Adjust knn merge stability testing #14172
Conversation
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.
seems OK to mark this as unstable, but something is failing in the checks, maybe related to the print statements
@@ -191,6 +193,9 @@ public PostingsFormat getPostingsFormatForField(String name) { | |||
// Safety: | |||
assert previousMappings.size() < 10000 : "test went insane"; | |||
} | |||
if (VERBOSE) { | |||
System.out.println("RandomPostingsFormat: " + name + " -> " + codec); |
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.
Isn't System.out
forbidden? Or is it OK in tests?
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.
Yeah, it's likely forbidden. I found this verbose output helpful in debugging. But I think it can be removed in preference to setting the info stream
I will fix up the PR and merge.
With the new connected components work, merging is unstable. It generally seems that between indexing, there might be new connections as
vex
index size increases.I am not 100% sure the cause here. Opening this PR as one potential solution. Its interesting indeed that it occurs at all.
closes: #13640