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

Remove reference to BSON_CONTEXT_DISABLE_HOST_CACHE in docs

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: