Menu

#4 Lurking Timestamp ID Bug

open
nobody
None
7
2004-10-21
2004-10-21
No

There is a lurking bug in the model.id package, where
Timestamp Id Dispenser? is generating IDs based on the
current time in milliseconds. When this happens twice
in one millisecond, the IDs are not unique.

Discussion

  • Jason Van Cleve

    Jason Van Cleve - 2004-10-21
    • priority: 5 --> 7
     
  • Andrew McFarland

    Logged In: YES
    user_id=956799

    Either the has been unilaterally changed since this bug was
    written, or you simple need to read more closely (the
    comments explicitly address this issue and there is code to
    prevent duplicates. -Andy

     

Log in to post a comment.

MongoDB Logo MongoDB