Make _vectorClockPersist command nicely fail on non-sharded nodes

XMLWordPrintableJSON

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

      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
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: