Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2090

Don't call getpid if we plan to overwrite result with taskid during ObjectId generation

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.0
    • Affects Version/s: None
    • Component/s: libbson
    • Labels:
      None

      _bson_context_init always calls getpid to generate an OID, then if possible and configured to do so, overwrites the result with the Linux thread "task id".

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: