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

Allow specification of minHeartbeatFrequencyMS for wrapping drivers

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      In the retryable reads spec, it notes that lowering the minHeartbetFrequencyMS can speed up the tests quite a bit, and the c driver actually does this for its tests. Unfortunately, another spec forbids drivers from allowing users (and therefore wrapping drivers) to modify this value.

      The difference is pretty significant, though. For example, the retryable writes tests take about 40 seconds to run on my macbook with the default minHeartbeatFrequencyMS. With it set to 50, they take about 10 seconds.

      Would it be possible to expose some undocumented way of lowering this value for wrapping drivers?  

            Assignee:
            Unassigned Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: