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

PeriodicShardedIndexConsistencyChecker thread on jstests can cause unintended shard refreshes

    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Sharding 2020-06-29
    • 44

      Problem

      The presence of the PeriodicShardedIndexConsistencyChecker thread causes unintended refreshes on shards in all config server stepdown suites. Js tests that rely on a shard's metadata being stale can sporadically fail due to this thread running on stepup.

      Possible Solutions

      • Auditing all jstests that rely on stale shard metadata and disabling the periodic thread (this has been done before).
      • Disabling the thread altogether on config server stepdown suites, and enabling it on targeted tests that test the behavior of the periodic thread.

      Proven Affected Tests

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: