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

Validation failure, suspected bson buffer mismanagement

    • RSS Sydney
    • ALL
    • pro-duck-tive - 2025-04-01, meow meow meow - 2025-04-15, RSS Sydney - 2025-04-29, Bananini - 2025-05-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In HELP-72829 validation of a fixed snapshot fails nondeterministically.

      Results here: Atlas Search UI

      The specific collection/records that fail validation on any particular node varies too.

      Notably, in all failures, the invalidity (which can be missing or extra keys) looks like this:

                {
                  "idKey": {
                    "_id": null
                  },
                  "indexKey": {
                    "Projects.AmountForTech": null
                  },
                  "indexName": "Projects.AmountForTech_1",
                  "recordId": 1004
                }
      

      The null _id key is likely SERVER-87215, whilst this is a problem (and possibly, related to the real problem) it is not the cause of this validation failure.

      Far more likely, the null indexKey is the problem. When the validation is run with logdiagnostics=true we can see all of the index keys generated, none of them are null. So there has to be a problem to do with copying/moving/storing them, see comments on the linked HELP ticket.

            Assignee:
            nic.hollingum@mongodb.com Nic Hollingum
            Reporter:
            nic.hollingum@mongodb.com Nic Hollingum
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: