flink icon indicating copy to clipboard operation
flink copied to clipboard

[FLINK-35510][statebackend] Implement basic incremental checkpoint fo…

Open zoltar9264 opened this issue 1 year ago • 5 comments

…r ForStStateBackend

What is the purpose of the change

Use low DB api implement a basic incremental checkpoint for ForStStatebackend, follow steps:

  1. db.disableFileDeletions()
  2. db.getLiveFiles(true)
  3. db.entableFileDeletes(false)

Brief change log

  • Introduce ForStStateDataTransfer
  • Introduce ForStIncrementalSnapshotStrategy

Verifying this change

This change added tests and can be verified as follows:

  • Added test ForStStateDataTransferTest
  • Added test ForStIncrementalSnapshotStrategyTest

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
  • The serializers: (no)
  • The runtime per-record code paths (performance sensitive): (no)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
  • The S3 file system connector: (no)

zoltar9264 avatar Jun 03 '24 13:06 zoltar9264

CI report:

  • 6e2f34a849971292c1377ffc68b12c0ea10c4b61 UNKNOWN
  • e7648e7bfc21b2b89f8b5f0da01fa8c078e4d388 Azure: SUCCESS
Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

flinkbot avatar Jun 03 '24 13:06 flinkbot

@flinkbot run azure

zoltar9264 avatar Jun 03 '24 15:06 zoltar9264

@flinkbot run azure

zoltar9264 avatar Jun 04 '24 02:06 zoltar9264

@flinkbot run azure

zoltar9264 avatar Jun 04 '24 03:06 zoltar9264

@flinkbot run azure

zoltar9264 avatar Jun 05 '24 03:06 zoltar9264

@flinkbot run azure

zoltar9264 avatar Sep 05 '24 04:09 zoltar9264

@flinkbot run azure

zoltar9264 avatar Sep 10 '24 02:09 zoltar9264

@flinkbot run azure

zoltar9264 avatar Sep 11 '24 16:09 zoltar9264

@flinkbot run azure

zoltar9264 avatar Sep 12 '24 01:09 zoltar9264

@flinkbot run azure

zoltar9264 avatar Sep 16 '24 10:09 zoltar9264

@flinkbot run azure

zoltar9264 avatar Sep 16 '24 12:09 zoltar9264

@flinkbot run azure

zoltar9264 avatar Sep 18 '24 03:09 zoltar9264

@flinkbot run azure

zoltar9264 avatar Sep 18 '24 08:09 zoltar9264

@flinkbot run azure

zoltar9264 avatar Sep 18 '24 15:09 zoltar9264

@flinkbot run azure

zoltar9264 avatar Sep 19 '24 02:09 zoltar9264

CI green, merging...

Zakelly avatar Sep 19 '24 06:09 Zakelly