Add dropped collection/index and newly created view tests for extra index keys check

XMLWordPrintableJSON

    • Replication
    • Fully Compatible
    • v8.0, v7.0, v6.0
    • Repl 2024-07-22, Repl 2024-08-05
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Similar to dbcheck_dropped_collection.js for the data consistency check we should make sure the behavior for dropped collections and then newly created collections/views with the same name has the correct behavior.

      We should also make sure that all the IndexNotFound checks are correct (in dbcheck_extra_index_keys.js)As part of this we should investigate potentially refactoring the code to only check for the IndexNotFound/NamespaceNotFound/CommandNotSupportedOnView errors in one place/propogate it all up to one location, since right now in the extra index keys path we check for IndexNotFound in many locations.
      ^ putting this in SERVER-79850

              Assignee:
              Xuerui Fa
              Reporter:
              Huayu Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: