richardwilly98 / elasticsearch-river-mongodb

MongoDB River Plugin for ElasticSearch
1.12k stars 215 forks source link

Fix error when we could not get objectId from oplog #503

Closed smecsia closed 9 months ago

smecsia commented 9 years ago

Sometimes (it happened to us two or more times) getObjectIdFromOplogEntry throws the exceptions, which leads to river failure. I'm not sure it is a good idea to catch any exception here. But I believe such cases must not affect the indexing service availability.