[GitHub] [avro] martin-g merged pull request #2089: Bump serde_json from 1.0.92 to 1.0.93 in /lang/rust

2023-02-13 Thread via GitHub
martin-g merged PR #2089: URL: https://github.com/apache/avro/pull/2089 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org

[GitHub] [avro] martin-g merged pull request #2099: AVRO-3711: [Docs] Add uuid logical type to IDL

2023-02-13 Thread via GitHub
martin-g merged PR #2099: URL: https://github.com/apache/avro/pull/2099 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@avro.apache.org

Re: [AVRO-3713] Why does the default values cache need weak keys?

2023-02-13 Thread Christophe Le Saƫc
Hi Niels, I think WeakHashMap is used because it's onwed by GenericData which is a singleton. So, Fields should be "weak reference" to allow garbaging when field is removed. As comment says // this MAY result in two threads creating the same defaultValue // and calling put. The last thread will