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

Allow specification of minHeartbeatFrequencyMS for wrapping drivers

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      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?  

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: