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

add database versioning test cases for commands not tracked by the profiler

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-04-09, Sharding 2018-04-23

      The jstest created in SERVER-33339 left out test cases that define whether a dbVersion is sent for:

      • copydb
      • createIndexes
      • drop (collection)
      • dropDatabase
      • listCollections
      • renameCollection
      • validate

      These commands should be tested separately, since they cannot be tested by using the profiler.

      Additionally,

      • update
      • delete

      should be tested separately, since they are batched and the profiler only captures individual updates/deletes within the batch, so it loses any fields on the outer command.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: