Only replace the top-level metaField with "meta" for time-series updates/deletes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.4, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v5.0
    • Execution Team 2021-08-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the translateQuery in timeseries_update_delete_util.cpp replaces any occurrences of the metaField with "meta." However, it really should only replace any occurrences of top-level fields with the literal "meta". For example, if the metaField is "tag," and we queried on the field { "a":{ "tag": 1 }}, our current translation logic would substitute "tag" with "meta", but this is incorrect and we should leave the query as { "a":

      { "tag": 1 }

       }.

            Assignee:
            Kris Satya (Inactive)
            Reporter:
            Kris Satya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: