Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1850

Check treatment of unknown values in protobuf repeated fields

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 1.2.0
    • Fix Version/s: n/a
    • Component/s: rpc
    • Labels:
      None
    • Target Version/s:

      Description

      We've been operating under the assumption that unknown values in 'repeated MyEnum foo' in protobuf would show up as the first variant of the enum. In fact this doesn't seem to be the case (at least in C++). Rather, the values end up in the UnknownFieldSet.

      This might have impact in a few places, most notably the feature flags stuff in the RPC system.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: