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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.4
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-02-24, Execution Team 2020-03-09
    • 10

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: