PeriodicShardedIndexConsistencyChecker thread on jstests can cause unintended shard refreshes

XMLWordPrintableJSON

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

      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
              Reporter:
              Blake Oler
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: