Yuan Tian created IOTDB-5431: -------------------------------- Summary: Concurrent bug caused by using synchronizedSet() in DriverScheduler Key: IOTDB-5431 URL: https://issues.apache.org/jira/browse/IOTDB-5431 Project: Apache IoTDB Issue Type: Bug Reporter: Yuan Tian Assignee: Alima777 Attachments: image-2023-01-18-17-43-53-454.png, image-2023-01-18-17-44-16-595.png
synchronizedSet() return a faked thread-safe Set, because its iterator method is not thread-safe. If we use for-each syntax for that Set, it may cause ConcurrentModificationException. !image-2023-01-18-17-43-53-454.png! !image-2023-01-18-17-44-16-595.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)