4847c3de4e
The account cache holds AccountState instances which contain the external IDs of the accounts. Hence an account must be evicted from the account cache when its external IDs are updated. At the moment it's the responsibility of the caller to do the account eviction, but it can easily be forgotten and it's more convenient if ExternalIdsUpdate takes care of it. For some scenarios this may result in a few more cache evictions (e.g. account creation), but for most operations the number of account evictions should stay the same. After updating external IDs the corresponding accounts also need to be reindexed, but this is automatically done when accounts are evicted from the account cache. Change-Id: I1af02c7576eea81bb229a4663cb1e067ab137784 Signed-off-by: Edwin Kempin <ekempin@google.com> |
||
---|---|---|
.. | ||
src | ||
BUILD |