visallo / vertexium

High-security graph database
http://vertexium.org/
Apache License 2.0
62 stars 34 forks source link

Improve LazyMutableProperty Threadsafety #454

Closed mwizeman closed 4 years ago

mwizeman commented 4 years ago

Fix a threading issue when creating a cached version of a lazy property value. If two threads attempt to deserialize the value at the same time, there can be timing issues with the way the code sets the non-serialized value to null.