Search index management spec test incompatible with Local Atlas Docker image

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: Index Management
    • None
    • Needed - No Spec Changes
    • Hide

      Summary of necessary driver changes

      • Update the search index management prose tests to check only the value of latestDefinition.mappings.dynamic

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      Context for other referenced/linked tickets

      • CLOUDP-366814
      Show
      Summary of necessary driver changes Update the search index management prose tests to check only the value of latestDefinition.mappings.dynamic Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed) https://github.com/mongodb/specifications/commit/418037534364ace8eb6bdbf989284e0ce84b8493   Context for other referenced/linked tickets CLOUDP-366814
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      PHPLIB-1750 Fixed 2.1.3
      CDRIVER-6178 Needs Triage
      CXX-3388 Needs Triage
      CSHARP-5810 Needs Triage
      GODRIVER-3728 Needs Triage
      JAVA-6034 Needs Triage
      NODE-7347 Needs Triage
      PYTHON-5678 Needs Triage
      RUBY-3744 Needs Triage
      RUST-2315 Needs Triage
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } #scriptField td.willNotDo { background-color: #FF0000; /* Red color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion PHPLIB-1750 Fixed 2.1.3 CDRIVER-6178 Needs Triage CXX-3388 Needs Triage CSHARP-5810 Needs Triage GODRIVER-3728 Needs Triage JAVA-6034 Needs Triage NODE-7347 Needs Triage PYTHON-5678 Needs Triage RUBY-3744 Needs Triage RUST-2315 Needs Triage

      Summary

      Using the docker image mongodb/mongodb-atlas-local:latest, the result of $listSearchIndexes contains an empty map for "latestDefinition.mappings.fields". This behavior is different from the actual MongoDB Atlas M0.

      Expected :'{ "mappings" : { "dynamic" : false } }'
      Actual   :'{ "mappings" : { "dynamic" : false, "fields" : { } } }'

      Motivation

      Who is the affected end user?

      Index-management spec tests fail with the docker image mongodb/mongodb-atlas-local

      How does this affect the end user?

      No

      How likely is it that this problem or use case will occur?

      -

      If the problem does occur, what are the consequences and how severe are they?

      Annoying for drivers developers testing with atlas local.

      Is this issue urgent?

      No

      Is this ticket required by a downstream team?

      Drivers

      Is this ticket only for tests?

      Tests only

      Acceptance Criteria

      Specify which fields need to be tested.

            Assignee:
            Jérôme Tamarelle
            Reporter:
            Jérôme Tamarelle
            Andreas Braun Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: