Bug 246844 - databases/influxdb: Update to 1.8.0
Summary: databases/influxdb: Update to 1.8.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Ben Woods
URL: https://docs.influxdata.com/influxdb/...
Keywords: patch, patch-ready
Depends on:
Reported: 2020-05-29 13:50 UTC by Daniel Tihanyi
Modified: 2020-05-31 03:02 UTC (History)
1 user (show)

See Also:
woodsb02: maintainer-feedback+

InfluxDB Update to 1.8.0 diff (42.24 KB, patch)
2020-05-29 13:50 UTC, Daniel Tihanyi
woodsb02: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tihanyi 2020-05-29 13:50:03 UTC
Created attachment 215023 [details]
InfluxDB Update to 1.8.0 diff

This is an update to influxDB 1.8.0

Release notes:
- Flux v0.65 ready for production use
- Forward compatibility
- Operational improvements
- Security enhancements
- Update Go version to 1.13.8

Bug fixes:
- Skip WriteSnapshot during backup if snapshotter is busy. This fix eliminates contention between snapshot and backup processes, allowing backups to complete more reliably.
- Rebuild the series index when data is actually deleted (not when deleted data is only found in cache or outside of time range).
- Parse Accept header correctly.
- Upgrade compaction error log from Info to Warn.
- Remove double increment of meta index.
- Improve series cardinality limit for inmem index.
- Ensure all block data returned.
- Reduce influxd and influx startup time if Flux isn’t used.
- Fix bugs in -compact-series-file flag.
- Fix a SIGSEGV when accessing tsi active log.
- Verify precision in write requests.

More info: https://docs.influxdata.com/influxdb/v1.8/about_the_project/releasenotes-changelog/

I also modified USES=go to USES=go:modules as as far as I can see on their github page, it is needed.
It also says that they need Go 1.13, but we have 1.14. I"m not sure if that can cause any issues. In installed it, started it and restored a database, so far that worked.
I also added a post-extract line as it was suggested by "make gomod-vendor".
Comment 1 Ben Woods freebsd_committer 2020-05-31 02:50:37 UTC
Comment on attachment 215023 [details]
InfluxDB Update to 1.8.0 diff

Looks good to me - thanks, I will commit it now.

Only tiny improvement I could propose would be that the post-extract step should probably be before the do-build-MANPAGES-on step (given extract occurs before build). I will incorporate this.
Comment 2 commit-hook freebsd_committer 2020-05-31 03:01:28 UTC
A commit references this bug:

Author: woodsb02
Date: Sun May 31 03:00:47 UTC 2020
New revision: 537114
URL: https://svnweb.freebsd.org/changeset/ports/537114

  databases/influxdb: Update to 1.8.0

  - Convert to USES=go:modules to simplify port maintenance
  - Add post-extract to pet go:modules instructions
  - Improve whitespace in Makefile

  Changes this release:

  PR:		246844
  Submitted by:	Daniel Tihanyi <daniel.tihanyi@tetragir.com>

Comment 3 Ben Woods freebsd_committer 2020-05-31 03:01:51 UTC
Committed - thanks!