You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
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: