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

Mongo Server error (MongoQueryException): Query failed with error code 13388 and error message 'Failed to run query after 10 retries :: caused by :: version mismatch detected

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.17
    • Component/s: MapReduce, Querying
    • None
    • Server Triage
    • ALL

      Hi

      After migrating the MongoDB version from 4.0.16 - Feb 5, 2020 to  4.0.17 - Mar 25, 2020. for some collections when I run a Query or a MR I am getting:

      Failed to retrieve documents

      [M_AUDIT_CDR.AUDIT_KPN@Copy of mongo4.0 [sharded cluster] [direct]] Database error!

      Stacktrace:

      _/ java.lang.Exception: [M_AUDIT_CDR.AUDIT_KPN@Copy of mongo4.0 [sharded cluster] [direct]] Database error!
      ____/ Mongo Server error (MongoQueryException): Query failed with error code 13388 and error message 'Failed to run query after 10 retries :: caused by :: version mismatch detected for M_AUDIT_CDR.AUDIT_KPN' on server

      Can you please give me a quick solution to fix this, since all my system is stuck because I cannot access several collections.

       

      Thank you.

       

      Rui

            Assignee:
            backlog-server-triage [HELP ONLY] Backlog - Triage Team
            Reporter:
            rui.ribeiro@comfone.com Rui Ribeiro
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: