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

error message for moveChunk is confusing with incorrect shard key specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Gone away
    • None
    • None
    • Sharding
    • Sharding
    • ALL

    Description

      If the moveChunk "find" document does not contain a correct shard key, it may return:

      assert: command failed: {
      	"code" : 13141,
      	"ok" : 0,
      	"errmsg" : "exception: Chunk map pointed to incorrect chunk"
      } : undefined
      

      ...which is pretty cryptic. This is a pretty easy failure to detect and one that should be reported more clearly.

      Attachments

        Activity

          People

            backlog-server-sharding Backlog - Sharding Team
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: