[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: |
|
||||||||
| 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: |