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

Chunk migration may fail due to indexes having not relevant and invalid index options

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 6.0.0, 5.0.10, 7.0.0, 7.1.0, 7.2.0
    • Catalog, Sharding
    • None
    • Storage Execution
    • ALL
    • Execution Team 2024-01-22, Execution Team 2024-02-05, Execution Team 2024-02-19

    Description

      IndexCatalogImpl::removeExistingIndexesNoChecks() does not account for index_key_validate::repairIndexSpec() to remove invalid index options when it calls _doesSpecConflictWithExisting().

      {"s":"W",  "c":"SHARDING", "id":23777,   "ctx":"MoveChunk","msg":"Error while doing moveChunk","attr":{"error":"OperationFailed: Data transfer error: migrate failed: CannotCreateCollection: aborting, shard is missing 1 indexes and collection is not empty. Non-trivial index creation should be scheduled manually"}}
      

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: