Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Skipped messages by MongoAscoltatore #90

Closed
mcollina opened this issue Mar 11, 2014 · 0 comments
Closed

Skipped messages by MongoAscoltatore #90

mcollina opened this issue Mar 11, 2014 · 0 comments
Labels

Comments

@mcollina
Copy link
Collaborator

As reported here moscajs/mosca#102, MongoAscoltatore skips some messages, as the ObjectID (which are used internally) can be unordered in the same second.

The relationship between the order of ObjectId values and generation time is not strict within a single second. If multiple systems, or multiple processes or threads on a single system generate values, within a single second; ObjectId values do not represent a strict insertion order. Clock skew between clients can also result in non-strict ordering even for values, because client drivers generate ObjectId values, not the mongod process.

from http://docs.mongodb.org/manual/reference/object-id/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant