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

Changelog with InMemoryStateChangelogStorage cannot work well

    XMLWordPrintableJSON

Details

    Description

      while using ChangelogStataBackend with InMemoryStateChangelogStorage, the seq will be increased when append a record. The materialization will materilalize the record into delegated state backend. But after the materialization finished, the persist method still puts the record into InMemoryChangelogStateHandle which is incorrect.
      Just as the patch shows, ChangelogDelegateHashMapInMemoryTest will fail because when restore, the medata cannot be found and the record that should't be there is restored firstly.

      Attachments

        Issue Links

          Activity

            People

              masteryhx Hangxiang Yu
              masteryhx Hangxiang Yu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: