[
https://issues.apache.org/jira/browse/FLINK-10175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16585676#comment-16585676
]
ASF GitHub Bot commented on FLINK-10175:
----------------------------------------
StefanRRichter opened a new pull request #6583: [FLINK-10175] Fix concurrent
access to shared buffer between RocksDBMapState and querable state
URL: https://github.com/apache/flink/pull/6583
## What is the purpose of the change
- Fixing a shared buffer between two threads in `RocksDBMapState``-Replacing
`ByteArrayData[Input|Output]View` with slightly enhanced versions of the
already existing `Data[Output|InputDe]Serializer`
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
## 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): (yes)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes)
- The S3 file system connector: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Fix concurrent access to shared buffer in map state / querable state
> --------------------------------------------------------------------
>
> Key: FLINK-10175
> URL: https://issues.apache.org/jira/browse/FLINK-10175
> Project: Flink
> Issue Type: Bug
> Components: State Backends, Checkpointing
> Affects Versions: 1.7.0
> Reporter: Stefan Richter
> Assignee: Stefan Richter
> Priority: Major
> Labels: pull-request-available
>
> Accidental sharing of buffers between event processing loop and queryable
> state thread can happen in {{RocksDBMapState::deserializeUserKey}}. Queryable
> state should provide a separate buffer.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)