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

splitChunk returns error but splits anyway, no entry in changelog

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.0.9, 2.2.6, 2.4.8
    • Sharding
    • ALL

    Description

      Moving the last chunk away from a shard, then back onto that shard, and trying to split it will cause an error. The chunk is still split though. The split does not appear in the changelog however.

      Error:

      {
      	"cause" : {
      		"errmsg" : "exception: couldn't find chunk { _id: MinKey }->{ _id: MaxKey }",
      		"code" : 13586,
      		"ok" : 0
      	},
      	"ok" : 0,
      	"errmsg" : "split failed"
      }

      jstest attached.

      The test fails in all mentioned affected versions. In 2.5.4 it succeeds without failure.

      Attachments

        Activity

          People

            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: