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

add jstest that documents and verifies whether each command sends a database version

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2018-02-26

      This jstest will enumerate all commands and for each, specify (1) whether it is expected to send a dbVersion or not, and if so (2) whether sending the dbVersion has been implemented yet.

      It will then verify that for commands that are expected to send a dbVersion, if they've been specified as implemented, then the primary shard indeed receives them with a dbVersion, else the primary shard receives them without a dbVersion.

      This jstest will help track which paths have been implemented (and provide an easy, consistent way to test that a patch to send a dbVersion on a new path is working).

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: