You need to set copy.existing flag for the task to read all documents from mongo first as opposed to reading from oplog directly. When all the mongo documents are read, the task will resume reading from oplog.