Melanie Thielker
805deb5a9b
Attempt to fix an issue I havebeen seeing, where asset server failure
...
results in a memory leak which will make the region crash and burn
after a while.
2008-08-31 10:42:35 +00:00
Jeff Ames
6ef9d4da90
Formatting cleanup.
2008-08-18 00:39:10 +00:00
Justin Clarke Casey
7fa00f9ecd
* remove redundant sync locking in AssetServerBase since this is already being done by the lower database layers
2008-07-07 19:32:21 +00:00
Justin Clarke Casey
1813946937
* remove unused CommitAssets() hook for now
2008-07-07 19:18:44 +00:00
Justin Clarke Casey
d6519924ba
* refactor: catch asset service request exceptions at the AssetServerBase level rather than in the GridAssetClient
...
* this is to enable logging of asset request exceptions soon
2008-06-13 18:04:01 +00:00
Jeff Ames
65c5efe43b
Formatting cleanup.
2008-05-16 01:22:11 +00:00
Adam Frisby
fef3b36894
* Optimised using statements and namespace references across entire project (this took a while to run).
2008-04-21 07:09:17 +00:00
Justin Clarke Casey
d53dd8a7cc
* Minor change on region grid asset client to change two store log messages to one
2008-03-31 14:19:40 +00:00
Jeff Ames
47180080f0
Formatting cleanup.
2008-03-18 05:16:43 +00:00
Justin Clarke Casey
956f7cb4f9
* Very minor error message change in GridAssetClient
2008-03-11 17:55:49 +00:00
Justin Clarke Casey
fed46ba6a7
* Winnow the debug and info messages associated with stat fetching
...
* As such, only a request for a non cached asset, the response and failures show up now.
* I know lbsa71 only put these in not long ago, so if they are really still required, I think we should think whether we can move the default log4net level off 'Debug'
2008-02-22 22:54:50 +00:00
Jeff Ames
e207284fef
Clean up logging calls using String.Format explicitly
2008-02-10 01:57:59 +00:00
Jeff Ames
6ed5283bc0
Converted logging to use log4net.
...
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
MW
755ad9e3e0
First part of avatar persistence, currently only really works in standalone mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed.
...
To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure).
This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database.
But the work to move the code to one of the grid servers shouldn't be too much.
2008-02-04 12:04:02 +00:00
lbsa71
efd90b56b7
* Optimized usings
...
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
lbsa71
87e2a694e2
* AssetServerBase: _ProcessRequest is now called GetAsset
...
* PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility.
* Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
2007-12-27 14:00:30 +00:00
Justin Clarke Casey
45567b71b8
Refactor asset request processing for consistent status information on whether an asset was actually found or not
2007-12-19 18:05:45 +00:00
lbsa71
0a4a5bbcef
* ARequest changed name to AssetRequest and moved to own file.
...
* The AssetServerBase is now responsible for dequeueing, the server implementations merely recieves ProcessRequest( AssetRequest req )
* Catchall added around queue processing thread so thread won't abort on exceptions.
2007-12-14 08:47:15 +00:00
Jeff Ames
af6eb67999
saved OpenSim source code from the giant rampaging unterminated copyright notice of doom
2007-12-10 05:25:16 +00:00
MW
19fe9a0208
Do I really have to write a log entry, can't I just hide this commit somewhere so its added but doesn't show up anywhere. As I can't believe I would make such a stupid mistake and not notice.
2007-11-04 10:40:28 +00:00
MW
91c2c3c096
testing different rest post method/class for Grid asset client. (possible that I haven't set the post url correctly)
2007-11-03 14:04:59 +00:00
Sean Dague
21e47f8ef0
debug tracing for asset server hangs
2007-11-01 22:01:26 +00:00
MW
88f04731ca
Test on the grid asset problem, don't update to this version unless you just want to test to see if this fixes anything (but it could just as well break grid assets even more).
2007-11-01 15:54:59 +00:00
Tleiades Hax
5fb956f75a
Improved logging, to identify which asset fetch caused an execption during retrieval of assets from the asset server
2007-10-31 18:49:40 +00:00
lbsa71
67e12b95ea
* Optimized usings
...
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
MW
3d8219f6c7
as per the "Filesystem cleanup for OpenSim repository" mailing list thread. Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace.
...
Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29 21:46:25 +00:00
Jeff Ames
7c6ef95f2f
normalized line endings
2007-10-29 07:57:38 +00:00
Tleiades Hax
5e7dba7268
Very early first implementation of grid based assets.
...
Run this on a major grid, and weep
2007-10-26 11:46:27 +00:00