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

Update scanIndexForDuplicates to handle clustered index keys

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Execution Team 2022-03-07

    Description

      Having clustered collections will use object id as record id. When comparing keystrings in scanIndexForDuplicates, we cannot assume that RecordId will be a long. We will need to update the comparison to something like this.

      Remove TODO in buildscripts/resmokeconfig/suites/clustered_collection_passthrough.yml to include collmod_convert_to_unique_violations_size_limit.js in the clustered collection passthrough.

      Attachments

        Activity

          People

            shinyee.tan@mongodb.com Shin Yee Tan
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: