Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-12692 Support disk spilling in HeapKeyedStateBackend
  3. FLINK-12693

Store state per key-group in CopyOnWriteStateTable

    XMLWordPrintableJSON

Details

    Description

      Since we propose to use KeyGroup as the unit of spilling/loading, the first step is to store state per key-groups. Currently NestedMapsStateTable natively supports this, so we only need to refine CopyOnWriteStateTable

      The main efforts required here is to extract the customized hash-map out of CopyOnWriteStateTable then use such a hash-map as the state holder for each KeyGroup. Whereafter we could extract some common logic out into StateTable.

      Attachments

        Issue Links

          Activity

            People

              banmoy PengFei Li
              liyu Yu Li
              Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 10m
                  10m