Open dharshanr opened 9 years ago
We use IMPORT_FAILED for fatal errors in MongoDBRiverBulkProcessor. We could use that in oplog tailing as well.
Combining river status and lastProcessedTimestamp into one REST call makes sense to me
Great. I'll put this together.
A fatal failure in the oplog tailing process is not being reflected in the status of the river. I want to propose a few changes to make it easy to monitor the status of the sync
The lastError field provides details of the error that happened.This status can be stored in the shardContext object and returned by the REST method.
If this design is acceptable I am happy to send out the pull request. Look forward to feedback.