Closed damianiandrea closed 9 months ago
When a watched collection is dropped or renamed, MongoDB sends an invalidate change event.
invalidate
Such change event causes the connector to close the change stream and try to resume from the latest resume token, only for it to error out and crash.
In order to fix this problem this PR prevents the connector from resuming a change stream after it has received an invalidate event.
When a watched collection is dropped or renamed, MongoDB sends an
invalidate
change event.Such change event causes the connector to close the change stream and try to resume from the latest resume token, only for it to error out and crash.
In order to fix this problem this PR prevents the connector from resuming a change stream after it has received an
invalidate
event.