[Opensim-dev] Fixing "Unknown User" problems using the database

Justin Clark-Casey jjustincc at googlemail.com
Tue Sep 24 20:23:27 UTC 2013


I hadn't appreciated this issue before.  It will need to be addressed, though quite possibly not this release as it's 
not a regression.

On 24/09/13 13:31, Allen Partridge wrote:
> That would be a huge help for unidentified npc's created / recreated on restart.
>
> Im not sure what the best org approach to the database might be, but it seems like isolating npcs from users in db might
> prove esp. Useful down the line.
>
> -allen
>
> On Sep 24, 2013 8:01 AM, "Oren Hurvitz" <orenh at kitely.com <mailto:orenh at kitely.com>> wrote:
>
>     I started using Hypergrid recently, and came across the "Unknown User"
>     problem. So far I've seen UserUMMAU4 and UserUMMTGUN9. I poked around to see
>     if I can do anything about this, and it seems that the mapping of UUID ->
>     Name is stored in memory only (UserManagementModule.m_UserCache). This has
>     the following consequences:
>
>     1. Simulators don't share what they know.
>     2. When a simulator is restarted, it forgets even those bindings that it did
>     know before.
>
>     The simulators do attempt to rebuild their cache on startup, by examining
>     all the prims in the scene. But this is insufficient. E.g., inventory items
>     also have creators.
>
>     I think we should create a table in Robust, similar to UserAccounts (or
>     perhaps in UserAccounts itself), which stores these name mappings.
>     Simulators would use this table as a fallback if they don't find a mapping
>     in their own cache. This will solve all (or at least most) of the "Unknown
>     User" problems.
>
>     What do you think? Am I missing something?
>
>     Oren
>
>
>
>     --
>     View this message in context:
>     http://opensim-dev.2196679.n2.nabble.com/Fixing-Unknown-User-problems-using-the-database-tp7578750.html
>     Sent from the opensim-dev mailing list archive at Nabble.com.
>     _______________________________________________
>     Opensim-dev mailing list
>     Opensim-dev at lists.berlios.de <mailto:Opensim-dev at lists.berlios.de>
>     https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>


-- 
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc



More information about the Opensim-dev mailing list