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

Record shard on splits in config.changelog

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Diagnostics, Sharding
    • None
    • Sharding
    • Fully Compatible
    • ALL

    Description

      It is useful when putting together a timeline and change events to have the shard name of the chunk along with the split info (what we have now):

      {	"_id" : "name-2013-04-10T09:16:03-3003692",
      	"server" : "name",
      	"clientAddr" : "host:port",
      	"time" : ISODate("2013-04-10T09:16:03.269Z"),
      	"what" : "split",
      	"ns" : "db.coll",
      	"details" : {
      		"before" : {
      			"min" : {
      				"_id" : ObjectId("51111bb9f7458a355db90bde")
      			},
      			"max" : {
      				"_id" : { "$maxKey" : 1 }
      			},
      			"lastmod" : {
      				"t" : 5,
      				"i" : 0
      			},
      			"lastmodEpoch" : ObjectId("000000000000000000000000")
      		},
      		"left" : {
      			"min" : {
      				"_id" : ObjectId("51111bb9f7458a355db90bde")
      			},
      			"max" : {
      				"_id" : ObjectId("51652cbc0f20b457d88f72b2")
      			},
      			"lastmod" : {
      				"t" : 5,
      				"i" : 2
      			},
      			"lastmodEpoch" : ObjectId("50e43b10c7a85e5442126201")
      		},
      		"right" : {
      			"min" : {
      				"_id" : ObjectId("51652cbc0f20b457d88f72b2")
      			},
      			"max" : {
      				"_id" : { "$maxKey" : 1 }
      			},
      			"lastmod" : {
      				"t" : 5,
      				"i" : 3
      			},
      			"lastmodEpoch" : ObjectId("50e43b10c7a85e5442126201")
      		}
      	}
      }
      
      

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: