|Anonymous | Login | Signup for a new account||2021-04-16 22:44 PDT|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008709||opensim||[REGION] Script Functions||public||2020-05-27 09:07||2021-02-06 19:18|
|Assigned To||Chris Weymann|
|Platform||Operating System||Operating System Version|
|Target Version||Fixed in Version|
|Summary||0008709: [PATCH] Implement OS commands similar to llCreateKeyValue, llReadKeyValue and llDeleteKeyValue|
|Description||This 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.
|Tags||No tags attached.|
|Git Revision or version number|
|Run Mode||Standalone (1 Region)|
|Script Engine||XEngine, YEngine|
|Attached Files||0001-Add-os-commands-similar-to-experience-data-storage.patch [^] (11,687 bytes) 2020-05-27 09:07 [Show Content]|
Ferd Frederix (reporter)
|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.|
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).
- 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...
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.
|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.|
Chris Weymann (reporter)
This will not be implemented in the os core.
Then someone have interest on this, i provide this at https://github.com/Sahrea/Chris.OS.Additions [^]
|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|
|2021-02-06 19:17||Chris Weymann||Note Added: 0037544|
|2021-02-06 19:17||Chris Weymann||Status||patch included => resolved|
|2021-02-06 19:17||Chris Weymann||Resolution||open => won't fix|
|2021-02-06 19:17||Chris Weymann||Assigned To||=> Chris Weymann|
|Copyright © 2000 - 2012 MantisBT Group|