Replace hand-rolled BSON parsing of IFR wire flags with an IDL-defined struct

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      fromWire() in src/mongo/db/feature_flag.cpp manually parses each ifrFlags wire entry via raw BSONObj field access and uassert checks, instead of an IDL-generated struct like most other wire formats use. We should define an IDL struct with name: string and value: bool fields and use its generated parser/serializer on both the fromWire and serializeFlagValues sides

            Assignee:
            Charlie Swanson
            Reporter:
            Kristina Znam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: