sharding read_after_optime.js test timeout should exceed ping interval

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 3.2.4, 3.3.3
    • Affects Version/s: None
    • Component/s: Sharding
    • Fully Compatible
    • ALL
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The balancer continually updates the config server. The interval used by the balancer needs to be taken in account when choosing an appropriate readConcern timeout for the test.

      To reproduce, change the maxTimeMS in this line from 5000 ms to some value larger than the ping interval (10 secs):

          var runFindCommand = function(ts) {
              return primaryConn.getDB('local').runCommand({
                  find: 'oplog.rs',
                  readConcern: {
                      afterOpTime: {
                          ts: ts,
                          t: term,
                      },
                  },
                  maxTimeMS: 5000, <- change to 20000
              });
          };
      

            Assignee:
            Benety Goh
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: