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

Index key order is not maintained

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      The index key order is not maintained. It seems to be in alphabetical order when ingest gets it. I suspect the agent is at fault, but more investigation is needed to confirm.

      In Mongo:
      db.a.ensureIndex(

      {"Location" : "2d", "CreatedBy.Impersonate.CommunityType" : 1 , "CreatedTime" : 1 , "DeletedTime" : 1 , "Status" : 1 , "_t" : 1}

      )

      In sync metadata:
      "key" :

      { "CreatedBy.Impersonate.CommunityType" : 1 , "CreatedTime" : 1 , "DeletedTime" : 1 , "Location" : "2d" , "Status" : 1 , "_t" : 1}

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.briskin Steve Briskin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: