[SERVER-28802] mongorocks index corruption Created: 14/Apr/17  Updated: 06/Dec/22  Resolved: 03/Jul/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Trivial - P5
Reporter: Eric Milkie Assignee: Backlog - Storage Execution Team
Resolution: Won't Fix Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Assigned Teams:
Storage Execution
Operating System: ALL
Participants:
Linked BF Score: 65

 Description   

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 }



 Comments   
Comment by Ian Whalen (Inactive) [ 19/Jun/17 ]

Bumping to backlog for now to help keep a clean view for myself. PMs will own pinging rocks team occasionally to see status of https://github.com/mongodb-partners/mongo-rocks/issues/79.

Comment by Eric Milkie [ 16/Jun/17 ]

Filed https://github.com/mongodb-partners/mongo-rocks/issues/79 for tracking

Generated at Thu Feb 08 04:19:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.