[Opensim-dev] About Processing on Assets Table (Discussion #2057)

Michael Wright michaelwri22 at yahoo.co.uk
Thu Aug 28 10:42:56 UTC 2008


If it is creating a new asset every time a user simple attaches/detaches a prim, then it is something that should be looked at. As I don't think it should be happening.

But as Melanie explain in the mantis issue, if a user makes a change, like changes the attachment point, then this does result in a new asset being created. Assets are sharable and as Melanie explained you never know who else has a refference to that asset. So you can't update it, as it would effect everyone who is using that asset.

There has been talk in the past about lots of different possible changes to the asset system. But any big changes would need a lot of changes deep in the core of opensim. 

"Tao YANG (GMAIL)" <thomas.tao.yang at gmail.com> wrote: Hi everyone,

I discussed this issue a little with melanie in Mantis #2057.  Thanks melanie!
Even though #2057 was turned into resolved, not fixable,
I still have some questions and want to discuss it with you all.
  
Please allow me describe this issue again in brief.
I first noticed the problem when I was testing attachment using MySQL,
that "assets" table increased without limit if you attach/detach repeatedly.
  Reading source code, there is no real deleting, updating, but adding on the table.
So I report it in #2057 and tried to attach a patch.
And melanie explained the reason why assets cannot be updated or deleted.

 The point could be whether the records in assets table can be updated or deleted.
1. Is it good technically that asset table is increasing without any limit?
 2. In case of attachment, for example,
   if an attached object is not shared with others, after modifying or when
   detaching it, should we still create a new record in assets table, letting
   the previous one become garbage and never be used?
    I think the process on attachment should be improved.  But that could be based
   on how assets work.
 
Cheers,
Thomas


 _______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


 Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080828/c2898693/attachment-0001.html>


More information about the Opensim-dev mailing list