Skip to content

Conversation

@ferhatelmas
Copy link
Contributor

@ferhatelmas ferhatelmas commented Jan 25, 2026

  • wasted resources (unnecessary calls to factory)
  • references can be different between goroutines that could cause inconsistency
  • if factory has side effects, it might happen multiple times

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@zeroshade zeroshade merged commit 0bd8477 into apache:main Jan 26, 2026
11 checks passed
@ferhatelmas ferhatelmas deleted the key-map-race branch January 26, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants