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

Deprecate "_hint" functions and rename to "_serverid"

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.28.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • C Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Scope

      Deprecate the "_hint" functions are used to set/get a server ID:

      • mongoc_bulk_operation_set_hint
      • mongoc_bulk_operation_get_hint
      • mongoc_cursor_set_hint
      • mongoc_cursor_get_hint

      And add alternative names replacing "hint" with "server_id" (or "serverid").

      Background & Motivation

      See this comment: https://github.com/mongodb/mongo-c-driver/pull/1590/files#r1595496465

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: