Skip to content

[Improvement] IcebergConnectorAdapter.java threading issue #1920

@justinmclean

Description

@justinmclean

What would you like to be improved?

static field version is updated by non static method buildInternalConnectorConfig.

Correctly updating a static field from a non-static method is tricky to get right and could easily lead to bugs if there are multiple class instances and/or multiple threads in play. Ideally, static fields are only updated from synchronized static methods.

How should we improve?

make the method static?

Metadata

Metadata

Assignees

Labels

improvementImprovements on everything

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions