Commit Graph

13265 Commits (e451c6cadfea1aba005cd14930855cf28f77ca06)

Author SHA1 Message Date
Jonathan A. Sternberg e451c6cadf Update changelog 2018-02-09 12:18:33 -06:00
Jonathan A. Sternberg ef12d464ad
Merge pull request #9423 from influxdata/js-9336-fix-imports-of-multiple-databases
Fix imports of multiple databases in a single import file from `influx -import`
2018-02-09 11:35:53 -06:00
Jonathan A. Sternberg c58ca8d0ea Fix imports of multiple databases in a single import file from `influx -import`
If multiple databases were specified, then the earlier writes would be
written to the later database and/or retention policy because points
were only written out after the batch size was reached. This forces the
batcher to flush whenever the database context switches.
2018-02-09 10:33:53 -06:00
Edd Robinson 90c921fc0f
Merge pull request #9422 from influxdata/er-sketches
Ensure nil sketches never returned
2018-02-09 15:54:02 +00:00
Jonathan A. Sternberg ca7cc021ee Revert "Merge pull request #9352 from wwilfinger/walter/influx-inspect-export-import"
This reverts commit 9aeae7ce82, reversing
changes made to 35b44cc2f0.

The contributor was unable to sign the contributor license agreement so
we have to revert this commit.
2018-02-09 09:53:19 -06:00
Edd Robinson e5c8fd9dc5 Ensure nil sketches never returned 2018-02-09 15:29:42 +00:00
Stuart Carnie 8f978068f9
Merge pull request #9415 from influxdata/sgc-storage
restore `MetaClient`, which is needed by store
2018-02-09 07:51:36 -07:00
Hercules Mango Churchill 7472c3eba4 Update changelog 2018-02-08 20:45:31 +00:00
Jonathan A. Sternberg 4a22f7b44d
Merge pull request #8878 from influxdata/amh-8794
Do not report an error when dropping a CQ on a non-existent DB/RP
2018-02-08 14:39:20 -06:00
Hercules Mango Churchill 262b69955e Update changelog 2018-02-08 19:30:46 +00:00
Andrew Hare d21ebfe531 Do not report an error when dropping a CQ on a non-existent DB/RP
This makes the behvior similar to other places in the DB where we
don't return an error when we try to drop an object from a non-
existent database.
2018-02-08 13:28:47 -06:00
Stuart Carnie 41dc96ca91 restore `MetaClient`, which is needed by store
* Switch from an anonymous type to avoid false positives with
  `megacheck`
2018-02-08 12:13:13 -07:00
Jonathan A. Sternberg c6d01e3fcf
Merge pull request #9403 from influxdata/js-9259-influx-cli-port-fix
Do not explicitly specify ports 80 or 443 when they are the default port
2018-02-08 12:47:22 -06:00
Ben Johnson 0af6fb8e10
Merge pull request #9412 from influxdata/er-series-sketches
Sketches, Cont'd
2018-02-08 11:41:39 -07:00
Jonathan A. Sternberg 0777382329 The automatic changelog generator was misconfigured
It inserted the changelog entry into version 1.0 because it couldn't
find any tags. Jenkins had been configured not to fetch any tags so the
changelog generator assumed this was the first version of the software.

Fetching tags is now enabled on Jenkins.
2018-02-08 10:56:49 -06:00
Hercules Mango Churchill 1d269965d6 Update changelog 2018-02-08 16:47:52 +00:00
Jonathan A. Sternberg 6622ac571b The git config command should not have an equals sign, but two arguments 2018-02-08 10:47:13 -06:00
Jonathan A. Sternberg 1b270973b9
Merge pull request #9401 from oiooj/pr-win-history
Fix windows history file location
2018-02-08 10:42:55 -06:00
Jonathan A. Sternberg fab5c70f6d Do not explicitly specify ports 80 or 443 when they are the default port
The default port for HTTP is 80 and HTTPS is 443. When you host InfluxDB
on a service that uses a reverse proxy, the `Host` header needs to be
exactly correct. Since the host header isn't expecting to see the port
when it is the default, this causes routing to fail.
2018-02-08 10:25:04 -06:00
kun 7bc52b7a81 Fix windows history file location 2018-02-09 00:20:52 +08:00
Jonathan A. Sternberg c3e0536208
Merge pull request #9410 from influxdata/js-update-github-pr-template
Remove unnecessary checkboxes in the pull request template
2018-02-08 10:08:02 -06:00
Ben Johnson ed9c0576d4
Add series sketches, fix tombstones in index files. 2018-02-07 14:52:13 -07:00
Edd Robinson 0d164f3164
WIP - tsi integration sketches 2018-02-07 14:52:13 -07:00
Edd Robinson 64171229e8
Add test for index sketches 2018-02-07 14:52:13 -07:00
Edd Robinson 7a55735562
Add option to set LogFile compaction size 2018-02-07 14:52:13 -07:00
Edd Robinson 544329380f
Add empty series sketches back to tsi1 index
This commit adds initial empty sketches back to the tsi1 index, as well
as ensuring that ephemeral sketches in the index `LogFile` are updated
accordingly.

The commit also adds a test that verifies that the merged sketches at
the store level produce the correct results under writes, deletions and
re-opening of the store.

This commit does not provide working sketches for post-compaction on the
tsi1 index.
2018-02-07 14:52:13 -07:00
Edd Robinson c8f30da88a
Tidy up tests 2018-02-07 14:52:13 -07:00
Jonathan A. Sternberg ba76535b35
Merge pull request #9232 from genofire/fix-client-url
[BUGFIX] client url path
2018-02-07 14:04:39 -06:00
Stuart Carnie de6d5a7359
Merge pull request #9408 from influxdata/sgc-cleanup
remove redundant closing channel from tsdb.Shard
2018-02-07 11:21:47 -07:00
Jonathan A. Sternberg 6c4beaa7e9 Remove unnecessary checkboxes in the pull request template
The changelog is now updated automatically, tests are reported to github
as part of the CI status, and rebased/merged are also covered by
built-in github functionality.
2018-02-07 12:19:50 -06:00
Martin Geno 6cbbd2be2d
[BUGFIX] client url path 2018-02-07 17:47:18 +01:00
Jonathan A. Sternberg 5e13a0177b
Merge pull request #9402 from influxdata/js-auto-changelog
Configure Jenkins to automatically update the changelog
2018-02-06 17:25:03 -06:00
Jonathan A. Sternberg d61b4c7f0d Configure Jenkins to automatically update the changelog
On the master or release branches, `git changelog` will be run to
automatically update the changelog based off of the pull requests that
have been merged and then it will commit and push those changes.
2018-02-06 14:34:55 -06:00
Jonathan A. Sternberg 18494c547b
Merge pull request #9405 from influxdata/js-remove-circle-deployment
Remove the deployment section from circle.yml
2018-02-06 14:34:07 -06:00
Stuart Carnie a058d204d8 remove redundant closing channel 2018-02-06 12:08:58 -07:00
Jonathan A. Sternberg 1c26fe4ba8 Remove the deployment section from circle.yml
We no longer use circle to deploy new releases.
2018-02-06 13:04:49 -06:00
Jonathan A. Sternberg 878fcf2782
Merge pull request #9407 from influxdata/js-autoconf-in-circle-build
Install autoconf in the circle build for fpm
2018-02-06 13:04:00 -06:00
Jonathan A. Sternberg 20e20f596f Install autoconf in the circle build for fpm
Upstream must have changed and now autoconf isn't installed as an
implicit dependency of one of the packages anymore. Install is
explicitly so the fpm portion of the circle build works correctly.
2018-02-06 12:37:51 -06:00
Jonathan A. Sternberg 9aeae7ce82
Merge pull request #9352 from wwilfinger/walter/influx-inspect-export-import
Fix imports of multiple databases in one export file
2018-02-05 14:22:00 -06:00
Walter Wilfinger 93a19040ce Fix imports of multiple dbs in one export file
batchWrite was using the last database and retention policy read from
the input file. Because batchWrite was called only every batchSize lines
or at EOF, databases with fewer than batchWrite points could be imported
into the incorrect database.

This change forces a flush with batchWrite whenever processDML reads a
change in database or retention policy.
2018-02-05 12:18:03 -06:00
Ben Johnson 35b44cc2f0
Merge pull request #9391 from influxdata/check-series-file-key-tombstones
Verify series key after lookup.
2018-02-05 10:55:43 -07:00
Jonathan A. Sternberg 37374b2dc2
Merge pull request #9389 from influxdata/js-changelog-fix
Fix some changelog entries
2018-02-02 19:18:59 -06:00
Ben Johnson b09f35056f
Verify series key after lookup.
Because of a race between the index and series file lookups, empty
keys can be returned for series which are tombstoned after the
series ids are obtained but before the caller looks up the key.
2018-02-02 13:26:05 -07:00
Jonathan A. Sternberg c9e1201fac
Merge pull request #9390 from influxdata/js-9386-stddev-in-subquery
Fix stddev() call to report itself as always returning a float
2018-02-02 13:03:52 -06:00
Adam 43fdb866dd
update to logs to print start/end values when relevant (#9388) 2018-02-02 13:32:43 -05:00
Jonathan A. Sternberg 5d95348fcd Fix stddev() call to report itself as always returning a float 2018-02-02 12:20:27 -06:00
Jonathan A. Sternberg 157fc0ccc4 Fix some changelog entries
Remove some miscellaneous whitespace at the end of changelog entries and
fix two older entries. One accidentally included an inline html tag and
didn't display. The other was missing a newline between two changelog
entries and so didn't display correctly as separate bullet points.
2018-02-02 11:04:55 -06:00
Stuart Carnie 0f6e6fb9ef
Merge pull request #9192 from influxdata/sgc-writer
ensure tsmWriter#Write returns ErrMaxBlocksExceeded
2018-02-01 15:39:01 -07:00
Jason Wilder e83eca61ca
Merge pull request #9384 from influxdata/jw-wal-cache
Reduce cache partitions
2018-02-01 08:53:20 -07:00
Jason Wilder 3299e549aa Increase WAL write buffer size
The default of 4096 results in writes to the WAL still requiring muliple
IOs.  We had previously bumped this to 1M, but that was too high when
there are many shards.  Increasing to around 16k reduces the IOs to
one or two for the workloads tested.  We may want to make this
configurable in the future.
2018-01-31 13:55:32 -07:00