aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-176/+56
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-16/+20
2012-10-26Fix "save iar" hanging permanently if the asset request phase times out.Justin Clark-Casey (justincc)1-0/+4
Unlike "save oar", this was happening on the same thread as the original request. The timeout happens on another so the original thread is never aborted. On "save oar" this leaves the thread hanging (still bad) but on "save iar" it left the console thread hanging. Temporary fix is to make "save iar" do asset request on a separate thread, like "save oar". Longer term fix will be to restructure asset save to use a ManualResetEvent rather than a separate timeout timer.
2012-09-14Support multi-region OAR filesOren Hurvitz1-0/+6
Merged ArchiveWriteRequestPreparation.cs and ArchiveWriteRequestExecution.cs. This simplifies the code, and it's faster to write each scene to the archive as it's found rather than all at once at the end.
2012-08-03Fixed a rare bug that caused Save OAR to fail because it thought it had ↵Oren Hurvitz1-5/+11
timed-out The bug manifested as follows: a large world was saved. All the assets were found. But for some unknown reason, the timeout timer was restarted. So after 1 minute it closed the Archive Writer, because it didn't receive any more assets during that minute. That caused the OAR to become corrupted because ArchiveWriteRequestExecution.Save() was still running.
2012-03-10On OAR saving, try fetch assets serially rather than firing all the requests ↵Justin Clark-Casey (justincc)1-4/+6
at the asset service at once. This may (or may not) improve reliability for http://opensimulator.org/mantis/view.php?id=5898 Quick tests show that save time is the same.
2012-02-03Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer1-2/+2
corresponding RemoteAdmin parameter
2011-10-19Change wording on asset requests.Justin Clark-Casey (justincc)1-2/+2
Not all 'notified missing' assets are a problem. Some are invalid references which happen to be buried in other text.
2011-06-14tweak messages. Make verbose inventory item save message give the item name ↵Justin Clark-Casey (justincc)1-2/+2
as well as item id and asset id
2011-05-27Make sure culture is en-US when saving archive related xml.Justin Clark-Casey (justincc)1-0/+4
This might resolve http://opensimulator.org/mantis/view.php?id=5475
2011-01-08Added more debug messages under the -verbose option.Diva Canto1-2/+6
2010-11-29Preservation of creator information now also working in IARs. Cleaned up ↵Diva Canto1-2/+24
usage help. Moved Osp around, deleted unnecessary OspInventoryWrapperPlugin, added manipulation of SOP's xml representation in a generic ExternalRepresentationUtils function.
2010-10-22minor: add some text to the oar abort messages on assets timeout to make it ↵Justin Clark-Casey (justincc)1-1/+1
clear that the oar will not be usable
2010-06-29Revert "don't report the null uuid as a missing asset on saving oars/iars"Justin Clark-Casey (justincc)1-5/+3
This reverts commit 5ce119174e03715bfc61f7864bd3e7182c5d21ea. This change led to infinite timeout since the expected number of assets no longer matched requests. Rather than introduce yet fresh bugs with another fix, just revert this since the inaccurate report is just inconvenient
2010-06-25don't report the null uuid as a missing asset on saving oars/iarsJustin Clark-Casey (justincc)1-3/+5
2010-05-21add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)1-1/+1
2010-03-15* UuidGatherer now tracks asset types for assets it discovers. The asset ↵John Hurliman1-5/+18
types are inferred from context * OAR saving will attempt to correct unknown asset types before writing broken assets to the OAR file
2009-10-22Implemented a Watchdog class. Do not manually create Thread objects anymore, ↵John Hurliman1-5/+3
use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated
2009-10-01Formatting cleanup.Jeff Ames1-6/+6
2009-06-12* minor: if OAR saving receives assets after timeout, just print warning, ↵Justin Clarke Casey1-0/+2
don't accidentally go on to process them
2009-06-12* minor: remove warning from unused fieldJustin Clarke Casey1-5/+0
2009-06-05* Fix problem where known missing assets would stop save oar ever completingJustin Clarke Casey1-1/+3
* Issue was that region server was silently dropping an XmlException caused by trying to deserialize the blank asset service response * So make asset service return http status NOT FOUND rather than OK in accordance with REST * and interpret this correctly in the async response so that a null object is sent back * This means that this fix won't be active until both region simulator and server reach this revision
2009-06-05* Add oar saving timeoutJustin Clarke Casey1-0/+119
* If an oar save fails to get responses to all asset requests to the asset service then timeout after 60 seconds * Timeout executes abort, since missing assets in an OAR seems bad * This means that oar saves won't permanently hang and instead can be retried if something goes wrong with the asset service * This is not a solution to mantis 3714. Hopefully a fix will be along shortly since I can now consistently reproduce that problem
2009-06-02* Add simple original xml serialization testJustin Clarke Casey1-8/+2
2009-06-01* Fix race condition in save oarJustin Clarke Casey1-27/+43
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-15* Resolve bug where save oar would never complete if any assets were missingJustin Clarke Casey1-13/+5
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-7/+13
-- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
2009-05-14* When saving an oar, save assets when immediately received rather than ↵Justin Clarke Casey1-22/+31
storing them all up in memory * Hopefully this will remove out of memory problems when saving large oars on machines without much memory * It may also speed up saving of large oars
2009-03-13* Support loading empty folders in an iarJustin Clarke Casey1-3/+8
2009-03-09* Address http://opensimulator.org/mantis/view.php?id=3207Justin Clarke Casey1-2/+8
* A saved archive now immediately expires the data in the asset cache that it used, rather than retaining all the assets (esp textures) in the cache. * This is an imperfect solution. Ideally we would only expire the assets newly requested for the archive (not existing ones). But doing that would require a lot more restructuring. * I don't believe there are any locking issues due to the locking performed by the underlying memory cache, but please report any issues.
2009-02-12large scale fix for svn props after "the great refactor"Sean Dague1-8/+8
2009-02-12* optimized usings.lbsa711-12/+9
2009-02-10this is step 2 of 2 of the OpenSim.Region.Environment refactor.Dr Scofield1-1/+1
NOTHING has been deleted or moved off to forge at this point. what has happened is that OpenSim.Region.Environment.Modules has been split in two: - OpenSim.Region.CoreModules: all those modules that are either directly or indirectly referenced from other OpenSim packages, or that provide functionality that the OpenSim developer community considers core functionality: CoreModules/Agent/AssetTransaction CoreModules/Agent/Capabilities CoreModules/Agent/TextureDownload CoreModules/Agent/TextureSender CoreModules/Agent/TextureSender/Tests CoreModules/Agent/Xfer CoreModules/Avatar/AvatarFactory CoreModules/Avatar/Chat/ChatModule CoreModules/Avatar/Combat CoreModules/Avatar/Currency/SampleMoney CoreModules/Avatar/Dialog CoreModules/Avatar/Friends CoreModules/Avatar/Gestures CoreModules/Avatar/Groups CoreModules/Avatar/InstantMessage CoreModules/Avatar/Inventory CoreModules/Avatar/Inventory/Archiver CoreModules/Avatar/Inventory/Transfer CoreModules/Avatar/Lure CoreModules/Avatar/ObjectCaps CoreModules/Avatar/Profiles CoreModules/Communications/Local CoreModules/Communications/REST CoreModules/Framework/EventQueue CoreModules/Framework/InterfaceCommander CoreModules/Hypergrid CoreModules/InterGrid CoreModules/Scripting/DynamicTexture CoreModules/Scripting/EMailModules CoreModules/Scripting/HttpRequest CoreModules/Scripting/LoadImageURL CoreModules/Scripting/VectorRender CoreModules/Scripting/WorldComm CoreModules/Scripting/XMLRPC CoreModules/World/Archiver CoreModules/World/Archiver/Tests CoreModules/World/Estate CoreModules/World/Land CoreModules/World/Permissions CoreModules/World/Serialiser CoreModules/World/Sound CoreModules/World/Sun CoreModules/World/Terrain CoreModules/World/Terrain/DefaultEffects CoreModules/World/Terrain/DefaultEffects/bin CoreModules/World/Terrain/DefaultEffects/bin/Debug CoreModules/World/Terrain/Effects CoreModules/World/Terrain/FileLoaders CoreModules/World/Terrain/FloodBrushes CoreModules/World/Terrain/PaintBrushes CoreModules/World/Terrain/Tests CoreModules/World/Vegetation CoreModules/World/Wind CoreModules/World/WorldMap - OpenSim.Region.OptionalModules: all those modules that are not core modules: OptionalModules/Avatar/Chat/IRC-stuff OptionalModules/Avatar/Concierge OptionalModules/Avatar/Voice/AsterixVoice OptionalModules/Avatar/Voice/SIPVoice OptionalModules/ContentManagementSystem OptionalModules/Grid/Interregion OptionalModules/Python OptionalModules/SvnSerialiser OptionalModules/World/NPC OptionalModules/World/TreePopulator
2009-02-09From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague1-2/+2
These changes replace all direct references to the AssetCache with IAssetCache. There is no change to functionality. Everything works as before. This is laying the groundwork for making it possible to register alternative asset caching mechanisms without disrupting other parts of OpenSim or their dependencies upon AssetCache functionality.
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-2/+2
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2008-11-04* Stop an exception in getting assets for the archiver from crashing the simJustin Clarke Casey1-7/+16
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-7/+7
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-08-18Formatting cleanup.Jeff Ames1-5/+5
2008-07-25* Remove dumb bug I put in which meant that an archive save would never ↵Justin Clarke Casey1-1/+8
complete if there were any missing assets
2008-07-21* minor: change misleading 'all assets found' message to instead tell how ↵Justin Clarke Casey1-3/+11
many were actually located
2008-06-17Update svn properties.Jeff Ames1-114/+114
2008-06-16* refactor: Fission ArchiveWriteRequest into prepare and execute classesJustin Clarke Casey1-3/+12
2008-06-16* Refactor: Break out AssetsRequest to a separate file in the Archiver moduleJustin Clarke Casey1-0/+105