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

Make _vectorClockPersist command nicely fail on non-sharded nodes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Sharding 2020-09-07
    • 14

      The _vectorClockPersist command should be blacklisted from fuzzers in order to avoid failures: it's wrong to invoke it arbitrarily and with random parameters.

      Repurpose: if called in non-sharded nodes, the command currently leads to a crash because the Grid executor pool is not initialized. It should be checked the cluster role before invoking the persisting procedure.

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: