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

Improve behavior when creating key string from BSON with incompatible ordering

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution

      One of the ways to create a key string involves providing an existing BSON object and an ordering. Currently if the BSON and ordering are not compatible (i.e. do not have the same number of fields), it does not immediately throw an error and may behave unexpectedly upon subsequent usage. We should see if we can improve this interface to make it more obvious to a user if it's being misused like this.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: