APIStrict validation is not performed for fields in 'indexes' array in createIndex command

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-73872 fixes the bug of apistrict validation not happening for fields in inner structs in commands. However this issue still remains for fields in 'indexes' array in createIndex command. This is because theĀ 'NewIndexSpec' struct is not parsed and validated by the generated idl code but stored as bsonobj. The bsonobj is manually validated later but the apistrict check for the unstable fields in that struct is not being done.

              Assignee:
              [DO NOT USE] Backlog - Storage Execution Team
              Reporter:
              Projjal Chanda
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: