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

State TTL: Remove deprecated option and method to disable TTL compaction filter

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Hide
      The following option and methods have been deprecated in 1.10 and removed in 1.11:

      - state.backend.rocksdb.ttl.compaction.filter.enabled
      - StateTtlConfig#cleanupInRocksdbCompactFilter()
      - RocksDBStateBackend#isTtlCompactionFilterEnabled
      - RocksDBStateBackend#enableTtlCompactionFilter
      - RocksDBStateBackend#disableTtlCompactionFilter
      - (state_backend.py) is_ttl_compaction_filter_enabled
      - (state_backend.py) enable_ttl_compaction_filter
      - (state_backend.py) disable_ttl_compaction_filter

      because the TTL compaction filter in RocksDB has been enabled in 1.10 by default and it is now always enabled in 1.11.
      Show
      The following option and methods have been deprecated in 1.10 and removed in 1.11: - state.backend.rocksdb.ttl.compaction.filter.enabled - StateTtlConfig#cleanupInRocksdbCompactFilter() - RocksDBStateBackend#isTtlCompactionFilterEnabled - RocksDBStateBackend#enableTtlCompactionFilter - RocksDBStateBackend#disableTtlCompactionFilter - (state_backend.py) is_ttl_compaction_filter_enabled - (state_backend.py) enable_ttl_compaction_filter - (state_backend.py) disable_ttl_compaction_filter because the TTL compaction filter in RocksDB has been enabled in 1.10 by default and it is now always enabled in 1.11.

    Description

      Follow-up for FLINK-15506.

      • Remove¬†RocksDBOptions#TTL_COMPACT_FILTER_ENABLED
      • Remove¬†RocksDBStateBackend#enableTtlCompactionFilter/isTtlCompactionFilterEnabled/disableTtlCompactionFilter, also in python API
      • Cleanup code from this flag and tests, also in python API
      • Check any related code in frocksdb if any

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wind_ljy Jiayi Liao
            azagrebin Andrey Zagrebin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment