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

Add extra logging and checking in bulk_shard_insert.js

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.3.14
    • 3.3.15
    • Sharding
    • Fully Compatible
    • v3.2
    • Sharding 2016-10-10

    Description

      The bulk_shard_insert.js test occasionally fails with an incorrectly filtered out chunk. The error is:

      [js_test:bulk_shard_insert] 2016-09-19T16:19:49.431+0000 d23510| 2016-09-19T16:19:49.431+0000 I SHARDING [RangeDeleter] rangeDeleter deleted 2688 documents for bulk_shard_insert.coll from { _id: ObjectId('57e00dcc2e653cab51d68e90') } -> { _id: ObjectId('57e00dd62e653cab51d69910') }
      [js_test:bulk_shard_insert] 2016-09-19T16:19:49.484+0000 Inserted 1000000 count : 1000000 itcount : 999999
      [js_test:bulk_shard_insert] 2016-09-19T16:19:49.485+0000 assert: [1000000] != [999999] are not equal : undefined
      [js_test:bulk_shard_insert] 2016-09-19T16:19:49.485+0000 doassert@src/mongo/shell/assert.js:15:14
      [js_test:bulk_shard_insert] 2016-09-19T16:19:49.485+0000 assert.eq@src/mongo/shell/assert.js:51:5
      [js_test:bulk_shard_insert] 2016-09-19T16:19:49.485+0000 @jstests/sharding/bulk_shard_insert.js:69:5
      [js_test:bulk_shard_insert] 2016-09-19T16:19:49.485+0000 @jstests/sharding/bulk_shard_insert.js:3:2
      

      Add some additional diagnostics to help trace this error.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: