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

Do not add a ZK store reader per log #1238

Merged
merged 11 commits into from
Feb 20, 2025
Merged

Do not add a ZK store reader per log #1238

merged 11 commits into from
Feb 20, 2025

Conversation

ermontross
Copy link
Contributor

Summary

We have seen some stability issues with large Astra clusters around large searches. We found that most of this instability was caused by ZK timeouts because we were adding a reader per log per search, which is a write operation. Turns out the listener is not necessary.

This PR removes the listener add (i.e. removes the expensive write operations) and moves the listSync cache call to the per-search level instead of per-log. The thought here is that we do not need to know about a new redaction in the middle of a search, especially since redactions are added very infrequently.

Requirements

@ermontross ermontross merged commit efd67fe into master Feb 20, 2025
2 checks passed
@ermontross ermontross deleted the emontross-zk-init branch February 20, 2025 23:44
@ermontross ermontross mentioned this pull request Feb 21, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants