Skip to content

Fix Thread Sanitizer races caused by lazy one-time initialization of RedisClientErrors (1.x)

Make the parameter-less RedisClientError factory statics computed properties. As stored properties, they trigger Thread Sanitizer errors when multiple connections trigger the same errors (usually connectionClosed) too close together due to lazy once-only initialization.

Cherry-pick of 8ac2d742.

Merge request reports

Loading