[CDRIVER-1131] Rename "hint" to "server_id" Created: 22/Feb/16  Updated: 19/Oct/16  Resolved: 01/Mar/16

Status: Closed
Project: C Driver
Component/s: docs, libbson, libmongoc
Affects Version/s: None
Fix Version/s: 1.4.0

Type: Improvement Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-1866 Rename get_hint docs to get_server_id Closed

 Description   

Where possible without breaking compatibility, rename "hint" to "server_id".

We're committed to mongoc_bulk_operation_get/set_hint, mongoc_cursor_get_hint. There, just explain in the docs that we really mean server_id, and rename the "hint" parameter.

Everywhere else, rename parameters and internal names from hint to server_id.

Rename mongoc_apm_command_started_get_hint, mongoc_apm_command_succeeded_get_hint, mongoc_apm_command_failed_get_hint before we release APM. Rename mongoc_client_command_simple_with_hint.



 Comments   
Comment by Githook User [ 26/Feb/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1131 rename "hint" to "server id"
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/224de15d8e7679ad35898fb7080d17629a1bb38a

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