[CDRIVER-3540] Remove reference to BSON_CONTEXT_DISABLE_HOST_CACHE in docs Created: 14/Feb/20  Updated: 28/Oct/23  Resolved: 28/Feb/20

Status: Closed
Project: C Driver
Component/s: libbson
Affects Version/s: None
Fix Version/s: 1.17.0-beta, 1.17.0

Type: Task Priority: Major - P3
Reporter: Jeremy Mikola Assignee: Roberto Sanchez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-2771 Implement ObjectID spec Closed

 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.



 Comments   
Comment by Githook User [ 28/Feb/20 ]

Author:

{'name': 'Roberto C. Sánchez', 'username': 'rcsanchez97', 'email': 'roberto@connexer.com'}

Message: CDRIVER-3540 remove obsolete references to BSON_CONTEXT_DISABLE_HOST_CACHE
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/76ad42150cd67fb84127225d96d9e0fd8ae7b3ca

Generated at Wed Feb 07 21:18:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.