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

Make all state backends follow builder pattern

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 1.8.0
    • None

    Description

      In FLINK-10043 we have introduced builder pattern for RocksDBKeyedStateBackend and moved all necessary initialization of the backend into the builder, out of which the most important part is the restore operation. None of the backends could actually supply service before the restore operation is done, so it's native to make restore part of the building phase.

      In this JIRA we propose to make all backends follow the builder pattern. More specifically, create builders for HeapKeyedStateBackend and DefaultOperatorStateBackend and move their restore operations into the builders. Will create sub-tasks for each of them.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              liyu Yu Li
              liyu Yu Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m