f36b3d7a75
Accounts need to be evicted from the account cache when they are updated. Instead of leaving this responsibility to the caller let AccountsUpdate take care of this. This is more convenient and ensures that none of the callers forgets about it. Accounts also need to be evicted from the account cache on creation, since the account cache may hold an empty AccountState instance for that account ID (if it was requested from the account cache before and was found missing). After updating accounts they also need to be reindexed, but this is automatically done when accounts are evicted from the account cache. Change-Id: I08d5c756eabd43c29bdc217e7b1c3d85ebf15197 Signed-off-by: Edwin Kempin <ekempin@google.com> |
||
---|---|---|
.. | ||
src | ||
BUILD |