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

IndexCatalogIterator should return const entries

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Storage NYC 2018-12-17, Storage NYC 2018-12-31

      The iterator current returns pointers that allow callers to happily access and modify the underlying IndexAccessMethod. In an attempt to prevent that behavior, which bypasses the IndexCatalog, we should have next() return a const pointer.

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

              Created:
              Updated:
              Resolved: