logstash-input-mongodb
logstash-input-mongodb copied to clipboard
missing the first doc record.
missing the first doc record.
@phutchins The first doc record is not handled, pls review this pr and merge to master to release a new gem :)
@inetufo can you give a little more detail around what you're changing here? Seems like there's more going on than catching the missing first doc.
It looks like you're adding a range instead of a starting point. The current behavior is to check if we have a placeholder. If we don't have one, start at the beginning of the collection and process all entries waiting for more. If we do have a placeholder, we start there and continue processing all entries waiting for more.
Hi, this is a real bug need to be solved. Please refer to #71
@inetufo can you give a little more detail around what you're changing here? Seems like there's more going on than catching the missing first doc.
It looks like you're adding a range instead of a starting point. The current behavior is to check if we have a placeholder. If we don't have one, start at the beginning of the collection and process all entries waiting for more. If we do have a placeholder, we start there and continue processing all entries waiting for more.
I added a placeholder and also it removes the first document of data !