long datastore names

35 views
Skip to first unread message

Fabrice Bacchella

unread,
Feb 26, 2017, 1:30:25 PM2/26/17
to rrd4j-...@googlegroups.com
I committed a patch that should allow longer than 20 characters for datasource name. I raised the limit to 65535 characters.


I needed to encode a offset in the dsname, using the private use area from unicode (https://en.wikipedia.org/wiki/Private_Use_Areas). So if a long name is used and the rrd read by an old library, the name returned will be the long name reduced to about 17 or 18 characters, depending of the length of the file, with a  few undisplayable characters appended. But if this area is already used for some custom usage, some strange results will happens.

Jexino

unread,
Feb 26, 2017, 2:18:07 PM2/26/17
to rrd4j-discuss
Perfect!!!
This has been a weak spot of the lib.

Thank you for your super work!!!
In which version is the patch entered?

Fabrice Bacchella

unread,
Feb 26, 2017, 4:32:15 PM2/26/17
to rrd4j-...@googlegroups.com
It will be in the next 3.2.

But if you want to play with it, you can have a look at:




--
You received this message because you are subscribed to the Google Groups "rrd4j-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rrd4j-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

jexi...@gmail.com

unread,
Sep 19, 2017, 10:41:33 AM9/19/17
to rrd4j-discuss
Hi Fabrice,

we are very interested in having long data source names. Is there already a date scheduled for the 3.2 release?
Having a release version would greatly simplify consuming this feature.

Kind regards,
jexino


Am Sonntag, 26. Februar 2017 19:30:25 UTC+1 schrieb Fabrice Bacchella:

Fabrice Bacchella

unread,
Sep 19, 2017, 10:51:44 AM9/19/17
to rrd4j-...@googlegroups.com
Not yet sorry, but I can feel a lot of pressure about it, other features are waiting too.

I will try to schedule it for october.

Reply all
Reply to author
Forward
0 new messages