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

setting multikey on index fails if index was created within same multi-document transaction

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-02-24, Execution Team 2020-03-09
    • 10

      In a multi-document transaction where an index is created (see SERVER-44849), if a subsequent insert within the same transaction has a mutikey field that would convert the recently created index into a multikey index, the function IndexCatalogEntryImpl::setMultikey() would fail within this side transaction introduced in SERVER-41766.

      One possible cause is that the index created in the parent transaction is not visible to the side transaction.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: