Closed wangch079 closed 1 year ago
The backport operation could not be completed due to the following error: There are no branches to backport to. Aborting.
The backport PRs will be merged automatically after passing CI.
To backport manually run:
backport --pr 531 --autoMerge --autoMergeMethod squash
Status | Branch | Result |
---|---|---|
✅ | 8.7 |
Note: Successful backport PRs will be merged automatically after passing CI.
Please refer to the Backport tool documentation
Closes https://github.com/elastic/enterprise-search-team/issues/3366
The connector will start syncing immediately if its scheduling is enabled and it's never synced.
This PR fixes this bug, and makes the job scheduling respect the crontab:
It gets the next sync time from
now
, and compares it withnow
+poll_interval
. It will trigger the sync if the next sync time happens before the next poll. This is consistent with the python implementation.A follow-up PR to update
ent-search
gem: https://github.com/elastic/ent-search/pull/7322Checklists
Pre-Review Checklist
v7.13.2
,v7.14.0
,v8.0.0
)