Commit Graph

12824 Commits (6851db3fc9060fc35f0fa707f6841b2f1c9d5475)

Author SHA1 Message Date
Mark Rushakoff ed4a826e52 Fix tarball packaging paths
The releng scripts' tarballs had paths like `./usr/bin/influx` whereas
the build.py output had `./influxdb-1.3.5-1/usr/bin/influx`. Now the
releng scripts match the build.py output.
2017-10-09 15:55:05 -07:00
Jason Wilder c1b17114f5 Add time range summary 2017-10-09 14:35:30 -06:00
Jason Wilder 742c871302 Add exact counting
This adds a new flag -exact that will return exact counts instead of
estimates.  The default is to return estimates since exact counting
on a problem shard could consume a lot of memory.
2017-10-09 14:01:57 -06:00
Jason Wilder 2abd7bd1d8 Report shards in sorted shard ID order 2017-10-09 13:50:37 -06:00
Jason Wilder 1401950b10 Only schedule one compaction per shard at a time
The scheduling logic ended up favoring more backlogged shards
too much and would starved active, less backed up shards.  This
occurred because the scheduling kicks in once a second.  When it
runs, it schedules as many compactions as it can.  A backed up shard
would end up having more compactions to run during the loop an would
generally get to schedule them more frequently.

This now allows each shard to try and schedule one compaction at a time
which provides a more balanced approach.  At some point, we'll probably
want to more directly balanc the each shards backlog vs letting it happen
somewhat randomly.
2017-10-09 11:40:32 -06:00
Jonathan A. Sternberg a55dd0f50e Merge pull request #8938 from influxdata/js-uint-integration-tests
Add an integration test for writing the uint protocol and reading it
2017-10-09 12:24:46 -05:00
Jonathan A. Sternberg 194939bbfc Add an integration test for writing the uint protocol and reading it 2017-10-09 11:00:21 -05:00
Jonathan A. Sternberg e415d0b10f Merge pull request #8835 from influxdata/js-uint-write-protocol
Add uint support into the write protocol
2017-10-09 10:55:16 -05:00
Jason Wilder 0ea4615b4a Merge pull request #8934 from influxdata/jw-inspect
Update influx_inspect to report total cardinalities
2017-10-09 09:23:10 -06:00
Byungjin Park f8dd2423fe Fix mis-typing in README.md of UDP Service 2017-10-08 03:09:01 +09:00
Jason Wilder c69ad0978c Update influx_inspect to report total cardinalities
This updates the report command to be able to report cardinalities across
all dbs and shards
2017-10-06 16:00:20 -06:00
Mark Rushakoff 10c4276eeb Merge pull request #8931 from influxdata/mr-update-go
Update to next version of Go with security fixes
2017-10-06 08:51:32 -07:00
Jonathan A. Sternberg f292dda847 Merge pull request #8795 from silenceshell/patch-1
enclose url with params
2017-10-06 10:12:47 -05:00
Jonathan A. Sternberg 7f18eaa1d2 Merge pull request #8866 from influxdata/js-8690-fill-lower-limit
Implicitly decide on the lower limit for fill queries when none is present
2017-10-06 10:11:11 -05:00
Mark Rushakoff b3deccb187 Update to next version of Go with security fixes 2017-10-05 16:54:02 -07:00
Jason Wilder 7948befde5 Merge pull request #8930 from influxdata/jw-compact
Reduce allocation in tsmKeyIterator.Next
2017-10-05 15:15:15 -06:00
Jonathan A. Sternberg f20cab6e99 Implicitly decide on the lower limit for fill queries when none is present
This allows the query:

    SELECT mean(value) FROM cpu GROUP BY time(1d)

To function in some way that makes sense. The upper limit is implicitly
the `now()` starting time and the lower limit will be whichever interval
the lowest point falls into.

When no lower bound is specified and `max-select-buckets` is specified,
the query will only consider points that would satisfy
`max-select-buckets`. So if you have one point written in 1970, have
another point within the last minute, and then do the above query with
`max-select-buckets` being equal to 10, the older point from 1970 will
not be considered.
2017-10-05 15:56:44 -05:00
Mark Rushakoff 76f5a65938 Merge pull request #8928 from influxdata/mr-releng-manpage-test
Fix manpage test
2017-10-05 11:57:18 -07:00
Mark Rushakoff f1bcbdc36c Fix manpage test 2017-10-05 11:33:29 -07:00
Jonathan A. Sternberg 31d50ec15e Merge pull request #8926 from influxdata/js-uint-marshaling-support
Support marshaling unsigned points
2017-10-05 12:35:58 -05:00
Mark Rushakoff d4b38a25f1 Merge pull request #8924 from influxdata/mr-releng-windows-binary-names
Ensure Windows binaries have .exe suffix
2017-10-05 10:02:41 -07:00
Jonathan A. Sternberg 18cc515345 Support marshaling unsigned points 2017-10-05 11:44:27 -05:00
Mark Rushakoff d689ee904b Ensure Windows binaries have .exe suffix 2017-10-05 09:33:24 -07:00
Jonathan A. Sternberg 5f76f11ebc Merge pull request #8921 from influxdata/js-uint-client
Add support for uint64 in the clients
2017-10-05 10:58:03 -05:00
Jonathan A. Sternberg cdea0d21d3 Merge pull request #8922 from influxdata/js-uint-influx-inspect
Update influx inspect to support unsigned types
2017-10-05 10:46:00 -05:00
Jonathan A. Sternberg abf2649d3a Update influx inspect to support unsigned types 2017-10-05 10:26:14 -05:00
Jonathan A. Sternberg 2f47c3d28f Add support for uint64 in the clients 2017-10-05 09:35:06 -05:00
Jonathan A. Sternberg b5a248802e Merge pull request #8917 from influxdata/js-remove-makefile
Remove the unused Makefile
2017-10-05 09:13:03 -05:00
Jason Wilder 00a403f60e Reduce allocation in tsmKeyIterator.Next
This reuses some intermediate buffers and structs while compacting
files.
2017-10-04 17:35:56 -06:00
Mark Rushakoff b18561cd9d Merge pull request #8920 from influxdata/master_namingfix
Master namingfix
2017-10-04 13:50:24 -07:00
Adam 5f5fda5e21 fixed merge error 2017-10-04 16:29:05 -04:00
Adam 3e6b3fd173 fix naming bug 2017-10-04 16:26:03 -04:00
Adam 74729e9e97 Master namingfix (#8916)
* Modified package script to use names similar to build.py
2017-10-04 15:13:24 -04:00
Jonathan A. Sternberg 5205e182a7 Remove the unused Makefile
The Makefile has not been used by the project since before 1.0 and is
not maintained. Removing it so it doesn't send the wrong signal to
potential developers.
2017-10-04 13:32:52 -05:00
Adam bb6c4fe75e took -oss out of tar.gz names 2017-10-04 14:24:23 -04:00
Adam 135a900391 Modified package script to use names similar to build.py 2017-10-04 14:21:18 -04:00
Jason Wilder e0746762d9 Merge pull request #8914 from influxdata/jw-shutdown-panic
Wait for compaction goroutines to finish
2017-10-04 10:56:07 -06:00
Jason Wilder 6b6ccf1a40 Wait for compaction gorotuines to finish 2017-10-04 10:01:44 -06:00
Jason Wilder 7e2b22f8d4 Merge pull request #8886 from influxdata/jw-planner
Improved compaction scheduling
2017-10-04 09:03:59 -06:00
Mark Rushakoff dc9e43101f Merge pull request #8911 from influxdata/mr-releng-manpages
Include man pages in releng packaging
2017-10-04 07:47:21 -07:00
Jason Wilder 06226d6fd3 Handle orphan lower level TSM files during full planning
Some files seem to get orphan behind higher levels.  This causes
the compactions to get blocked as the lowere level files will not
get picked up by their lower level planners.  This allows the full
plan to identify them and pull them into their plans.
2017-10-04 08:13:14 -06:00
Jason Wilder a1d0b52897 Allow lower priority compactions to use excess capacity
If there is a backlog of level 3 and 4 compacitons, but few level 1
and 2 compactions, allow them to use some excess capacity.
2017-10-04 08:11:44 -06:00
Mark Rushakoff bb6cb80d45 Update changelog 2017-10-03 16:43:26 -07:00
Mark Rushakoff f8e85e6df5 Include man pages in releng packaging
The *.1.gz files are included into the source tarball, and the .deb and
.rpm files will now install the man pages when the package is installed.

Fixes #8908.
2017-10-03 16:39:30 -07:00
Mark Rushakoff 6160e369b1 Merge pull request #8909 from influxdata/mr-service-var
Use correct variable style in influxdb.service
2017-10-03 12:59:17 -07:00
Jonathan A. Sternberg 920b2bee2e Merge pull request #7949 from lfarkas/master
always force the file inside the tarball owned by root
2017-10-03 14:37:06 -05:00
Mark Rushakoff 0aaede8421 Update CHANGELOG 2017-10-03 11:28:16 -07:00
Mark Rushakoff c2841c8342 Use correct variable style in influxdb.service
From the systemd.service docs:

Use "${FOO}" as part of a word, or as a word of its own, on the command
line, in which case it will be replaced by the value of the environment
variable including all whitespace it contains, resulting in a single
argument. Use "$FOO" as a separate word on the command line, in which
case it will be replaced by the value of the environment variable split
at whitespace, resulting in zero or more arguments.
2017-10-03 11:15:22 -07:00
Edd Robinson c80c3636dd Merge pull request #8904 from influxdata/er-changelog
Update 1.3.3 release date
2017-10-03 18:43:56 +01:00
Mark Rushakoff 276a26656e Merge pull request #8903 from influxdata/mr-systemd-detection
Use `command` instead of `which`
2017-10-03 10:11:12 -07:00