Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
Here is related code:
public void restoreState(SerializedCheckpointData[] state) throws Exception { synchronized (pendingCheckpoints) { pendingCheckpoints = SerializedCheckpointData.toDeque(state, idSerializer);
When lock is held on current pendingCheckpoints field, new reference is assigned to the same field - making the synchronization ineffective.
Attachments
Issue Links
- duplicates
-
FLINK-3265 RabbitMQ Source not threadsafe: ConcurrentModificationException
- Closed
- relates to
-
FLINK-3307 RMQSourceTest failure
- Resolved