Summary: | databases/influxdb: v0.11 available | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ron <ronald.valente> | ||||||||||||||||
Component: | Individual Port(s) | Assignee: | Palle Girgensohn <girgen> | ||||||||||||||||
Status: | Closed FIXED | ||||||||||||||||||
Severity: | Affects Only Me | CC: | bugs.freebsd.org, cheffo, girgen | ||||||||||||||||
Priority: | --- | Flags: | cheffo:
maintainer-feedback+
|
||||||||||||||||
Version: | Latest | ||||||||||||||||||
Hardware: | Any | ||||||||||||||||||
OS: | Any | ||||||||||||||||||
Attachments: |
|
Description
Ron
2016-02-21 20:02:10 UTC
A couple of days ago 0.10.2 was released. v0.10.3 was released few hours ago :) I'll look at porting latest version. I'll check what is the issue with the version number, but I think it's autogenerated when building from git. As in ports we do not git directly (we prefetch everything in advance) this probably does not work as excpected. I'll report to upstream and check whether they want to fix it. You're correct, it is auto generated when building: https://github.com/influxdata/influxdb/blob/8115cdf5bf478818e2f14e6a64c7e152130b0d0d/monitor/build_info.go#L7 That said, our cache is still pointing at 0.9 release. Could we, in theory prefetch the tagged release source files (maybe that is what we're doing)? Here is the direct URL: https://github.com/influxdata/influxdb/archive/v0.10.3.tar.gz Then when new releases are announced it should be an easy tweak in the Port/Package. Thoughts? R Hi, I'm fetching the tagged releases yes. Normally it's not hard to update to next version, but have in mind that I have to update and all dependencies which do take some time, also there are always new dependencies and also some obsolete dependencies, so it's little more complicated then just bumping the version. Now there are more issues - moving from influxdb to influxdata need some additional rewritting and I'm still not at the point to have working v0.10.3 port. I edited the subject to reflect that 0.11 is what we are looking forward to. :) Cheffo@, do you need any help? Palle Created attachment 168885 [details]
patch to update inflxudb port to 0.11.1
Hi,
I hacked up a patch to update influxdb to 0.11.1. builds fins.
@cheffo, if you approve, I can commit it, OK?
Palle
Created attachment 168886 [details]
minor fixes, new version of patch for influxdb-0.11.1
didd't need USES+= gmake
and no PORTSDIR in
BUILD_DEPENDS= go>=1.5.0:lang/go
Can you attach poudriere testport output for your latest patch? Created attachment 168954 [details]
Poudriere output
I haven't made any changes to the sample config file, although in the manual they suggest looking through the output of influxd config. Also, 0.11 is incompatible with 0.9 bz1 / bz2 database files. it is tsm files now. There is a described process for updating, but it seems it has to e done using 0.10 to be absolutely sure not to loose data. We could either 1. do nothing, admins should read update info for databases anyway 2. add a pkg message saying "RTFM about updating from 0.9" 3. fork a influx010 port for the old version so users can revert and fix if the get problems. perhaps number two is a nice thing? And perhaps even a record in UPDATING? Well, we have influx_tsm in the port also, which is used to convert database to the new format, so I do not see a problem here. It will be nice to add in UPDATING the following: To upgrade to InfluxDB 0.11, you must be on version 0.10 and all shards must be in TSM format (the default storage engine starting with InfluxDB 0.10). See the 0.10 documentation for how to convert b1 and bz1 shards to TSM. If any b1 or bz1 shards are present, InfluxDB 0.11 will not start. Up to v0.12.1 now: https://github.com/influxdata/influxdb/releases/tag/v0.12.1 Created attachment 169180 [details]
Update influxdb do v0.12.1
This patch updates influxdb from 0.9.6.1 to 0.12.1
Created attachment 169183 [details]
portlin output for influxdb-0.12.1
Created attachment 169184 [details]
poudriere testport output for influxdb-0.12.1
With attachment 16918 [details] that update influxdb do v0.12.1, we are ready to go! Please commit.
Thanks everyone for the help!
Great! Shall we add an entry to UPDATING? I had to redo the patch against 0.10 since that was the current port, but it was trivial, no problems. Adding this to 20160411: AFFECTS: Users if databases/influxdb AUTHOR: cheffo@freebsd-bg.org To upgrade to InfluxDB 0.12, you must be on version 0.10 and all shards must be in TSM format (the default storage engine starting with InfluxDB 0.10). See the 0.10 documentation for how to convert b1 and bz1 shards to TSM. If any b1 or bz1 shards are present, InfluxDB 0.12 will not start. https://docs.influxdata.com/influxdb/v0.10/administration/upgrading/#convert-b1-and-bz1-shards-to-tsm1 Created attachment 169186 [details]
complete patch will be
Committed. Thanks! |