ConcurrentModificationException in MetaTableSchemaCache #5955
Labels
bug
This issue is a bug.
needs-review
This issue or PR needs review from the team.
p2
This is a standard priority issue
Describe the bug
When
MetaTableSchemaCache
is accessed concurrently, it leads toMetaTableSchemaCache ConcurrentModificationException
.Regression Issue
Expected Behavior
MetaTableSchemaCache
is thread safe.Current Behavior
MetaTableSchemaCache
is not thread safe and may causeConcurrentModificationException
.Reproduction Steps
The issue is random and difficult to reproduce but the solution is obvious (see below).
Possible Solution
Replace
with
Additional Information/Context
No response
AWS Java SDK version used
2.29.7
JDK version used
Azul Zulu OpenJDK 64-Bit Server VM 21.0.6+7-LTS (mixed mode, emulated-client, sharing)
Operating System and version
macOS 15.0.1 (aarch64)
The text was updated successfully, but these errors were encountered: