Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29363

Improve the error message on 3.4 for catchUpTimeoutMillis:-1

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.4
    • Component/s: Replication
    • Labels:
      None

      When mongod 3.4 attempts to join a replica set with catchUpTimeoutMillis:-1, it fails to join the replica set and logs the error message "BadValue: Invalid value in field "catchUpTimeoutMillis": -1: catch-up timeout must be greater than or equal to 0". -1 is the default value for catchUpTimeoutMillis on 3.6, so this is likely to occur when adding a 3.4 mongod to 3.6 replica set. The error message should explain that in order to add a 3.4 mongod to a 3.6 replica set, the catchUpTimeoutMillis value for the replica set must be changed.

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: