Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-25330

Flink SQL doesn't retract all versions of Hbase data

    XMLWordPrintableJSON

Details

    Description

      Background

      When we use CDC to synchronize mysql data to HBase, we find that HBase deletes only the last version of the specified rowkey when deleting mysql data. The data of the old version still exists. You end up using the wrong data. And I think its a bug of HBase connector.

      The following figure shows Hbase data changes before and after mysql data is deleted.

       

       

      Attachments

        1. bundle_data.zip
          3 kB
          Bruce Wong
        2. bundle_data1.zip
          8 kB
          Bruce Wong
        3. Flink-SQL-Test.zip
          21 kB
          Bruce Wong
        4. image-2021-12-15-20-05-18-236.png
          974 kB
          Bruce Wong
        5. test_res_1.png
          581 kB
          Bruce Wong
        6. test_res.png
          610 kB
          Bruce Wong
        7. test_res2.png
          999 kB
          Bruce Wong

        Issue Links

          Activity

            People

              jingge Jing Ge
              Bruce Wong Bruce Wong
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: