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

mongorocks index corruption

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Storage Execution
    • ALL
    • 65

      For a particular concurrency test, the MongoRocks storage engine ended up with indexes that did not correspond correctly to the documents stored in their corresponding collections. It should be possible to replay this test and reproduce the failure.

      concurrency_simultaneous failed on Ubuntu 14.04 (RocksDB)

      Project: MongoDB (master)
      Commit: diff: SERVER-27988 Add namespace/UUID cache to OperationContext
      fsm_all_simultaneous.js - Logs | History
      fsm_all_simultaneous:ValidateCollections - Logs | History

      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 Collection validation failed with response: {
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 	"ns" : "db182.coll182",
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 	"nrecords" : 3,
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 	"nIndexes" : 3,
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 	"keysPerIndex" : {
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 		"db182.coll182.$_id_" : 3,
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 		"db182.coll182.$update_rename_y_1" : 4,
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 		"db182.coll182.$update_rename_z_1" : 5
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 	},
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 	"indexDetails" : {
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 		"db182.coll182.$_id_" : {
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.663+0000 			"valid" : false
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 		},
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 		"db182.coll182.$update_rename_y_1" : {
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 			"valid" : false
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 		},
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 		"db182.coll182.$update_rename_z_1" : {
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 			"valid" : false
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 		}
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 	},
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 	"valid" : false,
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 	"warnings" : [ ],
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 	"errors" : [
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 		"One or more indexes contain invalid index entries."
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 	],
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.664+0000 	"advice" : "A corrupt namespace has been detected. See http://dochub.mongodb.org/core/data-recovery for recovery steps.",
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.665+0000 	"ok" : 1
      [js_test:fsm_all_simultaneous] 2017-04-08T18:10:52.665+0000 }
      

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: