-
Notifications
You must be signed in to change notification settings - Fork 17
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
Fix for specific time scheduled crawls skipping if too many crawlers #597
Conversation
…nc_triggered? and custom_sync_triggered?
…w() calls in Timecop.freeze() + fixed minor typo in :monthly_interval cron schedule
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.
Looking good! Just left a few possible test cases that could be covered.
Nit: your PR title is |
…s skipped + added an expect() to an existing test to check if debug logs are presented there as well + revised debug log wording to include the poll_interval value
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 implementing the tests! I just have some ruby-specific comments, but the implementation looks really good :D
…he correct messages + moved those expect() lines out of the before(:each) blocks and into it blocks
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.
💔 Failed to create backport PR(s)
To backport manually run: |
A fix for specific time scheduled crawls being skipped if too many crawlers exist.
See 'Related Pull Requests' below for the work to introduce a configurable poll_interval value in ent-search.
Great explanation by @navarone-feekery here that includes an RCA, how to reproduce, and three solutions to tackle this problem, two of which are addressed in this PR.
Checklists
Pre-Review Checklist
v7.13.2
,v7.14.0
,v8.0.0
)Changes Requiring Extra Attention
Related Pull Requests
https://github.com/elastic/ent-search/pull/8256
Release Note
For Elastic Internal Use Only
connectors_utility
andconnectors_service
) and included into Enterprise Search and tested that Enterprise Search works well with new gem versions. Instruction can be found here