Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9130

Investigate a duplicate key error in the patch test

    • 0
    • Storage - Ra 2022-05-02, Storage - Ra 2022-05-16, Storage - Ra 2022-05-30, Storage - Ra 2022-06-13
    • v6.0

      While working on WT-9079 I ran a patch test for MongoDB. Though the changes for WT-9079 are on ARM, I saw a duplicate key error on x86. I am filing this ticket to have a look at the failure and see if it merits an investigation.

      Here is the error signature:

      [js_test:resharding_histogram_metrics] BulkWriteError({
      [js_test:resharding_histogram_metrics] 	"writeErrors" : [
      [js_test:resharding_histogram_metrics] 		{
      [js_test:resharding_histogram_metrics] 			"index" : 2,
      [js_test:resharding_histogram_metrics] 			"code" : 11000,
      [js_test:resharding_histogram_metrics] 			"errmsg" : "E11000 duplicate key error collection: reshardingDb.coll2 index: _id_ dup key: { _id: 7.0 } found value: RecordId(5)",
      [js_test:resharding_histogram_metrics] 			"op" : {
      [js_test:resharding_histogram_metrics] 				"_id" : 7,
      [js_test:resharding_histogram_metrics] 				"x" : 6,
      [js_test:resharding_histogram_metrics] 				"s" : 6,
      [js_test:resharding_histogram_metrics] 				"y" : 0
      [js_test:resharding_histogram_metrics] 			}
      [js_test:resharding_histogram_metrics] 		}
      [js_test:resharding_histogram_metrics] 	],
      [js_test:resharding_histogram_metrics] 	"writeConcernErrors" : [ ],
      [js_test:resharding_histogram_metrics] 	"nInserted" : 2,
      [js_test:resharding_histogram_metrics] 	"nUpserted" : 0,
      [js_test:resharding_histogram_metrics] 	"nMatched" : 0,
      [js_test:resharding_histogram_metrics] 	"nModified" : 0,
      [js_test:resharding_histogram_metrics] 	"nRemoved" : 0,
      [js_test:resharding_histogram_metrics] 	"upserted" : [ ]
      [js_test:resharding_histogram_metrics] }) :
      [js_test:resharding_histogram_metrics] BulkWriteError({
      [js_test:resharding_histogram_metrics] 	"writeErrors" : [
      [js_test:resharding_histogram_metrics] 		{
      [js_test:resharding_histogram_metrics] 			"index" : 2,
      [js_test:resharding_histogram_metrics] 			"code" : 11000,
      

        1. image-2022-05-05-13-55-27-319.png
          26 kB
          Luke Pearson
        2. Screen Shot 2022-04-25 at 4.16.11 pm.png
          138 kB
          Sulabh Mahajan

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: