-
Notifications
You must be signed in to change notification settings - Fork 143
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
also cast doc_id to str #3031
also cast doc_id to str #3031
Conversation
Is it because we are checking if |
Yep, covered in #2776
Right. We have some connectors that emit docs with |
(cherry picked from commit 21c0edb) # Conflicts: # connectors/es/sink.py # tests/test_sink.py
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Co-authored-by: Sean Story <[email protected]>
Co-authored-by: Sean Story <[email protected]>
Closes https://github.com/elastic/search-team/issues/8956
We were ensuring that the ingested
doc[id]
was a string, but at the time we computed:doc_id
could be numeric, butexisting_ids
were guaranteed to be strings.Checklists
Pre-Review Checklist
config.yml.example
)v7.13.2
,v7.14.0
,v8.0.0
)Release Note
Fixes a bug where full syncs may delete documents they just ingested if the document ID when fetched from the 3rd party was numeric.