Btw, the underlying problem is indeed the cache and how we use it. We access the cache multiple times during a full validation. Parts of the cache can get cleared in the middle of a validation due to memory pressure. When accessed the next time the metadata gets re-created, but now we have new instances of the metadata. Hence, we have to make sure that equals work.
|