hortonworks / registry

Schema Registry
Apache License 2.0
15 stars 8 forks source link

SR client SchemaVersionInfoCache is not thread safe #798

Open balassai opened 1 year ago

balassai commented 1 year ago

SchemaVersionInfoCache#invalidateSchema touches the nested cache multiple times without any locking. This can lead to inconsistency in the cache if getSchema/invalidateAll/invalidateSchema is called at the same time.