flink icon indicating copy to clipboard operation
flink copied to clipboard

[FLINK-33946] [rocksdb] set AvoidFlushDuringShutdown to true for avoiding Flush when Cancel Task

Open mayuehappy opened this issue 1 year ago • 1 comments

set setAvoidFlushDuringShutdown to true for avoiding Flush when Cancel Task

What is the purpose of the change

set setAvoidFlushDuringShutdown to true for avoiding Flush when Cancel Task

Brief change log

set AvoidFlushDuringShutdown to true as default Rocksdb options

Verifying this change

Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing

(Please pick either of the following options)

This change is a trivial rework

This change is already covered by existing tests

This change added tests and can be verified as follows:

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): (yno)
  • The serializers: (no)
  • The runtime per-record code paths (performance sensitive): (no )
  • Anything that affects deployment or recovery: flink-statebackend-rocksdb
  • The S3 file system connector: (no )

Documentation

  • Does this pull request introduce a new feature? (no)

mayuehappy avatar Jan 11 '24 06:01 mayuehappy

CI report:

  • 556acc2a010b25284766bb9eeed2e18f2a8c2eef Azure: SUCCESS
Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

flinkbot avatar Jan 11 '24 06:01 flinkbot