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

PeriodicShardedIndexConsistencyChecker thread on jstests can cause unintended shard refreshes

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4, v4.2
    • Sprint:
      Sharding 2020-06-29
    • Linked BF Score:
      44

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: