[opensource-dev] Question about speed of name cache query

Jonathan Welch jhwelch at gmail.com
Tue Oct 25 06:23:42 PDT 2011


For my solution to Storm-1653 (Group notices sent by muted residents
are still displayed) I have to call gCacheName->buildLegacyName to get
the AgentID associated with a legacy name.

It looks like this code may operate asynchronously if there is a cache
miss.  In my testing I was always able to get an AgentID back, even
with a cache miss, but my tests were not being done in a lagged out
region.

Would someone with knowledge of the name cache tell me if it is
possible for this routine to not return an AgentID; I'd like to
comment my code change properly.

Thank you,

-Jonathan


More information about the opensource-dev mailing list