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

Fix mongos_does_not_gossip_logical_time_without_keys.js test to more reliably disable key generation

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.10
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2017-07-10, Sharding 2017-07-31
    • 0

      The key generation mongos_does_not_gossip_logical_time_without_keys.js is disabled only on primary
      https://github.com/mongodb/mongo/blob/master/jstests/sharding/mongos_does_not_gossip_logical_time_without_keys.js#L37-L38
      the logs show that sometimes the secondary becomes the primary and generates the keys when test is being shut down.
      Need to also disable key generation on secondary

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: