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

Remove reference to BSON_CONTEXT_DISABLE_HOST_CACHE in docs

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.17.0-beta, 1.17.0
    • Affects Version/s: None
    • Component/s: libbson
    • None

      BSON_CONTEXT_DISABLE_HOST_CACHE is still mentioned in the docs for bson_context_t and some code doc blocks, but it is no longer used. It is defined in bson-types.h, but I expect that must remain for BC until libbson 2.0.

      I assume this flag became obsolete when when the ObjectID spec was implemented in CDRIVER-2771. Currently, the hostname is used to seed the RNG used for generating the 5-byte component of an ObjectID, but that has nothing to do with the flag.

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: