Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3154

Why does createMachineIdentifier take a long time to run?

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 4.0.0
    • BSON
    • None
    • Using Bitmani supplied docker image, bitnami/mongodb:4.1

    Description

      We are running unit tests as part of maven initiated testing which indirectly creates mongo connections, these seem to take some time to startup and we are seeing lots of time calling createMachineIdentifier;

      e.g.
      7.1% - 1,114 ms - 1 hot spot inv. org.bson.types.ObjectId.createMachineIdentifier (line\: 489

      Is there any way to shorten the amount of time being spend calling createMachineIdentifier?

      Attachments

        Activity

          People

            Unassigned Unassigned
            matthewzeemann Matthew Zeemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: