Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-1858

Copy metrics kafka offset on CDAP upgrade

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0
    • Component/s: Metrics
    • Labels:
      None
    • Rank:
      1|hzyken:

      Description

      We are changing the name of the table that stores offset. So in new table offset value becomes 0. But we should use old one - to avoid processing whatever is in kafka from the beginning (which will also cause duplicate processed records).

      NOTE: We didn't notice that when doing tests however, which is strange. I.e. nothing is processed twice.. Which would be expected due to this bug. Only explanation - the MetricValue in Kafka topics, its class was changed (package) - that could cause not decoding old metric values.

        Attachments

          Activity

            People

            • Assignee:
              shankar Shankar Selvam
              Reporter:
              alexb Alex Baranau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: