-
Notifications
You must be signed in to change notification settings - Fork 178
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
Monstache starts backoff when getting 404 (deleted object is already deleted in ES) #705
Comments
Same here. Looks like backoff logic has changed in 6.7.15, which by default assums backoff if ES gave non 200 response. |
We downgraded to 6.7.14 for now |
ashprojects
changed the title
Monstache starts backoff when getting 404 (document already sync)
Monstache starts backoff when getting 404 (deleted object is already deleted in ES)
Dec 18, 2023
rwynn
added a commit
that referenced
this issue
Dec 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Problem:
We delete document both from Mongo and ES for some real time use cases. Mongo delete events are being synced by Monstache to ES, ES returns 404 as document Monstache is trying to delete is already deleted. In this case, this error was ignored safely (~6.7.14). Monstache from 6.7.15 starts treating this as failures and tries the newly implemented backoff. So no more changes are synced, and it is dead.
Detail:
In recent version of monstache we started getting backoff for cases where document is not found in ES (As we have a use case when we directly delete from ES as well some times for some specific business use cases)
Logs:
Log 1:
Next log, immediately after:
Now monstache won't sync and we are stuck.
Earlier this was ignored as per our knowledge.
We are using latest version of monstache, updated yesterday.
This seems to cause it. v6.7.14...v6.7.15
The text was updated successfully, but these errors were encountered: