Adapt `appendFlagValueAndMetadata` to take into account the VersionContext

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      (TODO pierlauro.sciarelli@mongodb.com update description after SERVER-102076 commits)

      SERVER-102076 adapted the server parameters API to take into account the version context, leaving aside one usage in appendFlagValueAndMetadata because the version context decoration is not currently linkable in that file (hence it's not possible to call VersionContext::getDecoration(opCtx) ).

      That method is only used for reporting purposes, so missing the proper version context doesn't impact the server in terms of metadata/data format. However, if at some point there will be a way to pass in the proper version context, it would be preferable to return the correct result.

            Assignee:
            Unassigned
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: