-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-34987][state] Introduce Internal State for Async State API #24651
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR!
I left some comments PTAL.
flink-runtime/src/main/java/org/apache/flink/runtime/state/v2/internal/InternalKvState.java
Outdated
Show resolved
Hide resolved
flink-runtime/src/main/java/org/apache/flink/runtime/state/v2/internal/InternalKvState.java
Outdated
Show resolved
Hide resolved
public StateDescriptor<V> getStateDescriptor() { | ||
return stateDescriptor; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we provide serializer-related interfaces under this class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added a method of value serializer and related test.
flink-runtime/src/main/java/org/apache/flink/runtime/state/v2/internal/ValueStateImpl.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update! I leave some further comments here.
flink-runtime/src/main/java/org/apache/flink/runtime/state/v2/StateDescriptor.java
Outdated
Show resolved
Hide resolved
flink-runtime/src/main/java/org/apache/flink/runtime/state/v2/InternalKeyedState.java
Outdated
Show resolved
Hide resolved
flink-runtime/src/main/java/org/apache/flink/runtime/state/v2/StateDescriptor.java
Outdated
Show resolved
Hide resolved
flink-runtime/src/main/java/org/apache/flink/runtime/state/v2/ValueStateImpl.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@masteryhx Thanks for the PR, I left some comments, PTAL
flink-runtime/src/main/java/org/apache/flink/runtime/state/v2/StateDescriptor.java
Show resolved
Hide resolved
flink-runtime/src/main/java/org/apache/flink/runtime/state/v2/InternalKeyedState.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update LGTM
Rebased master. |
@flinkbot run azure |
Rebased again. |
What is the purpose of the change
Introduce Internal State to delegates all state requests to AEC.
Brief change log
Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (yes / no)Documentation