[ 
https://issues.apache.org/jira/browse/FLINK-36244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabor Somogyi updated FLINK-36244:
----------------------------------
    Release Note: 
Queryable State, deprecated since Flink 1.18, is removed:
- The modules `flink-queryable-state-client-java` and 
`flink-queryable-state-runtime`. The runtime jar is no longer in `opt/` of the 
distribution.
- `KeyedStream#asQueryableState`, `QueryableStateStream` and 
`StateDescriptor#setQueryable`, `getQueryableStateName`, `isQueryable`.
- All `queryable-state.*` configuration options.

Savepoints: a savepoint of a job that used `asQueryableState` can only be 
restored with `execution.state-recovery.ignore-unclaimed-state: true` (CLI: 
`-n`), because the queryable state operator no longer exists. The state of that 
operator is dropped, and all other state restores as usual.

Custom state backends: these only served Queryable State and are removed 
without a deprecation period: 
`KeyedStateBackendParameters#getKvStateRegistry()`, 
`Environment#getTaskKvStateRegistry()`, 
`InternalKvState#getSerializedValue(...)` and `TaskKvStateRegistry`. The 
constructors of `AbstractKeyedStateBackend` no longer take a registry, and 
`publishQueryableStateIfEnabled(...)` is gone. There is no replacement, so 
remove the usages.


> Remove Queryable State
> ----------------------
>
>                 Key: FLINK-36244
>                 URL: https://issues.apache.org/jira/browse/FLINK-36244
>             Project: Flink
>          Issue Type: Technical Debt
>          Components: Runtime / Queryable State
>            Reporter: Zakelly Lan
>            Assignee: Gabor Somogyi
>            Priority: Major
>              Labels: pull-request-available
>
> Queryable State is deprecated in 1.18, and better be removed in 2.0.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to