Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005602opensim[REGION] Specific OpenSim Modulepublic2011-07-22 14:442018-09-26 12:08
ReporterMichelle Argus 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Statuspatch feedbackResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0005602: [PATCH] RegionReady - Adding shutdown notification when using alert_uri
DescriptionAdding a patch which sends a "region_shutdown" message when regions get removed from the Simulator.

 To enable RegionReady to send a message to web, one needs to set enable_alert_shutdown = true in the RegionReady modul settings in the ini. On region shutdown the alert message will be region_shutdown instead of region_ready
Additional InformationI did not add the option to send the region shutdown notification to inworld scripts, as the region already has started the shutdown process...
TagsNo tags attached.
Git Revision or version number6ac0bc72592b5fe338c98d3acfc973faed321d14
Run ModeStandalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
Physics EngineBasicPhysics
EnvironmentUnknown
Mono VersionNone
Viewer
Attached Filestxt file icon 001-Patch adding region shutdown to RegionReady Module.txt [^] (3,865 bytes) 2011-07-22 14:44 [Show Content]

- Relationships

-  Notes
(0019033)
BlueWall (administrator)
2011-07-22 14:47

Does this relate to 0005600 in any way?
(0019034)
Michelle Argus (reporter)
2011-07-22 15:05
edited on: 2011-07-22 15:07

no, its not related.

 One still could test if this additional function also gets triggert if a regions location already is occupied... I will test that later ;)

btw... as a c# noob I was not able to fix 005600... but this patch was easy again, hehe

(0019037)
BlueWall (administrator)
2011-07-22 15:13

I'll be looking at 005600, so I'll add this too.

Thanks!
(0019038)
Michelle Argus (reporter)
2011-07-22 15:44
edited on: 2011-07-22 15:44

np

I tested if the shutdown also gets triggered when a sim closes due to overlapping regions. It does not trigger the shutdown. This also aplys for a crash of a sim were the application is terminated.

I also tested a region shutdown using RemoteAdmin. RemoteAdmin does trigger the shutdown message in this patch. All normal region shutdowns should be triggering the message in this patch...

(0019602)
BlueWall (administrator)
2011-08-15 13:28

I added the shutdown message to the module, but didn't apply the whole patch. We have several status/monitoring systems in OpenSim. I would like to look at them more to see if we might consolidate some of them instead of growing each one separately.

Thanks!
BlueWall
(0032839)
Fly-Man- (developer)
2018-07-27 11:59

The question I have, is there a reason why we haven't applied the full patch so a region script can prepare things for a shutdown ?

A script that would store the shutdown would be one of those things
(0033077)
BillBlight (developer)
2018-09-26 12:08

I'd say most likely Fly-Man, because there is no way to tell it to wait till that "shutdown script" finishes before the shutdown proceeds ..

I mean you start shutdown , shutdown script says "Here we go". on fast server region kills the script before it finishes, and now you have incomplete whatever data you wanted to save.

- Issue History
Date Modified Username Field Change
2011-07-22 14:44 Michelle Argus New Issue
2011-07-22 14:44 Michelle Argus File Added: 001-Patch adding region shutdown to RegionReady Module.txt
2011-07-22 14:44 Michelle Argus Git Revision => 6ac0bc72592b5fe338c98d3acfc973faed321d14
2011-07-22 14:44 Michelle Argus Run Mode => Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
2011-07-22 14:44 Michelle Argus Physics Engine => BasicPhysics
2011-07-22 14:44 Michelle Argus Environment => Unknown
2011-07-22 14:44 Michelle Argus Mono Version => None
2011-07-22 14:44 Michelle Argus Status new => patch included
2011-07-22 14:47 BlueWall Note Added: 0019033
2011-07-22 15:05 Michelle Argus Note Added: 0019034
2011-07-22 15:07 Michelle Argus Note Edited: 0019034
2011-07-22 15:13 BlueWall Note Added: 0019037
2011-07-22 15:44 Michelle Argus Note Added: 0019038
2011-07-22 15:44 Michelle Argus Note Edited: 0019038
2011-08-15 13:28 BlueWall Note Added: 0019602
2018-07-27 11:58 Fly-Man- Summary ReagionReady - Adding shutdown notification when using alert_uri => RegionReady - Adding shutdown notification when using alert_uri
2018-07-27 11:59 Fly-Man- Note Added: 0032839
2018-07-27 11:59 Fly-Man- Status patch included => patch feedback
2018-09-26 07:32 Fly-Man- Summary RegionReady - Adding shutdown notification when using alert_uri => [PATCH] RegionReady - Adding shutdown notification when using alert_uri
2018-09-26 12:08 BillBlight Note Added: 0033077


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker