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

Invariant that a catalog document is never written with 'multikey' false and non-empty 'multikeyPaths'

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2019-08-26
    • 0

      In DurableCatalog::putMetadata, add an invariant that 'multikey' must be true when there are 'multikeyPaths' present. This would eliminate (or identify) a class of bugs that could exist in this scenario, which should never happen.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: