richardwilly98 / elasticsearch-river-mongodb

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

Clean up #importInitial() #562

Closed ankon closed 8 years ago

ankon commented 8 years ago

This code was partially copy/pasted from the oplog slurper, but the exception handling was not changed for the new environment: there is no retrying here.

The calls to Thread#interrupt() still make sense, as the slurper runs inside a thread, and that one needs to stop as well.