-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat(search): PFP-1275/look-into-0-doc-indices #13296
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
Conversation
reduce replicas when docs 0
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found. 📢 Thoughts on this report? Let us know! |
...io/src/main/java/com/linkedin/metadata/search/elasticsearch/indexbuilder/ESIndexBuilder.java
Show resolved
Hide resolved
The replica count will constantly be changed to >1 on every upgrade and then downgraded by the planned cron job to adjust the replicas down. The logic to scale down to 0 also needs to be considered then a reindex is considered or it needs to ignore the diff between the intended replica count and the actual (delegating entirely to the cron). |
sorry I dont understdand this sentece, could you elaborate? |
The replica count is configured at upgrade/install time as well as this new cron job. This needs to be common for both places so that the replica count doesn't get changed back & forth. One approach might be to remove the replica setting on index creation, however code needs to be updated to remove it from consideration there. |
✅ Meticulous spotted visual differences in 23 of 762 screens tested, but all differences have already been approved: view differences detected. Meticulous evaluated ~10 hours of user flows against your PR. Last updated for commit 3ce4a32. This comment will update as new commits are pushed. |
982aaf4
to
3408d3a
Compare
9d91f9a
to
3ce4a32
Compare
Co-authored-by: David Leifker <david.leifker@acryl.io> Co-authored-by: david-leifker <114954101+david-leifker@users.noreply.github.com>
reduce replicas when docs 0