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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.7.0
    • None
    • libbson
    • None

    Description

      _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".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: