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

Updates during column store index build can result in no-op side writes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • QE 2023-02-06, QE 2023-02-20
    • 125

      When a column store index is limited to a subset of columns (either by a columnstoreProjection or by "foo.$**"-style notation), it is possible for a document replacement update to get forwarded to the index even when it does not modify any of the indexed columns. When this happens during bulk building, it results in a "side write" that has no entries.

      That behavior is semantically correct but trips an invariant when it eventually gets processed. There is no need for these no-op entries, though, and it is a simple to change the index update code so that it does not write them.

            Assignee:
            justin.seyster@mongodb.com Justin Seyster
            Reporter:
            justin.seyster@mongodb.com Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: