Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11241

Update Compatibility Changes for 3.6: Specify that sorting with a compound index on multiple array fields will produce an error in 3.6

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 0.2

      As part of SERVER-19402, the restriction mentioned here, https://docs.mongodb.com/manual/core/index-multikey/#compound-multikey-indexes, now applies to all sort operations even if there is no supporting index.

      We should clarify this is in our compatibility changes documentation for this change, https://docs.mongodb.com/manual/release-notes/3.6-compatibility/#array-sort-behavior, to specify that sorting with a compound index on multiple array fields will produce an error in 3.6.

            Assignee:
            jeffrey.allen@mongodb.com Jeffrey Allen
            Reporter:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 9 weeks, 1 day ago