Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008709opensim[REGION] Script Functionspublic2020-05-27 09:072020-06-02 08:45
ReporterChris Weymann 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Statuspatch includedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008709: [PATCH] Implement OS commands similar to llCreateKeyValue, llReadKeyValue and llDeleteKeyValue
DescriptionThis patch adds functions similar to the SL experience tools. It can read / store / delete data from an internal data store with the commands "osGetDataValue", osSetDataValue" and "osDeleteDataValue".
This patch saves the data to the directory "ScriptDataValue", which is a subfolder of the OpenSim bin directory. Though the target directory can be changed with a configuration parameter in the [XEngine] block of the OpenSim.ini file. The data in the target directory can be shared with other region or be synchronised with other servers via a cloud service.
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region)
Physics EngineBulletSim
Script EngineXEngine, YEngine
EnvironmentUnknown
Mono VersionNone
Viewer
Attached Filespatch file icon 0001-Add-os-commands-similar-to-experience-data-storage.patch [^] (11,687 bytes) 2020-05-27 09:07 [Show Content]

- Relationships

-  Notes
(0036525)
Ferd Frederix (reporter)
2020-06-02 07:47

I would love this, but does this have limits on the size of data structure? Or a rate limiter? Good way to fill up a hard drive, if not.
(0036527)
UbitUmarov (administrator)
2020-06-02 08:31

Sorry no ...
We already have a try to do some storage for scripts in the form of JsonStoreScriptModule. (that i think is also also bad).

why not?

- All access to disk must be done via dataserver mechanics (as ll does on those examples). Disk IO is unpredictable, needs to be done async, or may block the entire scripts engine (even kill Yengine multi task). ( yes we still have some functions wrongly added like the osnotecard*)

- not clear to me any form of garbage collection.
- not sure why store path is based on the groudID when it can be none...
- etc

Anyway, thanks for the contribution.
Even in its current form, it may be usefull for some people, that can get it here.
Just i can't make it part of main code.
(0036528)
tampa (reporter)
2020-06-02 08:45

Correct me if I am wrong, but it does not compress the data in any way, this means uncompressed txt files, which are often magnitudes larger than their actual content if it were compressed. I was curious to add this for testing, but letting some folks loose on this without compression I can see my disks being full in no time.

- Issue History
Date Modified Username Field Change
2020-05-27 09:07 Chris Weymann New Issue
2020-05-27 09:07 Chris Weymann File Added: 0001-Add-os-commands-similar-to-experience-data-storage.patch
2020-05-27 09:07 Chris Weymann Status new => patch included
2020-06-02 07:47 Ferd Frederix Note Added: 0036525
2020-06-02 08:31 UbitUmarov Note Added: 0036527
2020-06-02 08:45 tampa Note Added: 0036528


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker