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

Incorrect spelling in error message

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • ALL
    • 1

      I am creating some training that is focused on sharding, during one of my exercises I noticed that the returned error message has a spelling error:

      MongoServerError[AlreadyInitialized]: Collection 'testRandom.testData' already exists with a differnt shard key. Requested { customerID: 1, dtg: 1 } but found { dtg: 1 }
      

      Note the differnt, which should be different.

      The offending line of code can be found at: https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/create_collection_coordinator.cpp#L821

            Assignee:
            Unassigned Unassigned
            Reporter:
            brett.gray@mongodb.com Brett Gray
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: