Commit Graph

13272 Commits (6e47ff8d7fd783975227d26420fbdbd1ea00a753)

Author SHA1 Message Date
Stuart Carnie 6e47ff8d7f simplify code 2018-02-14 06:55:48 -07:00
Edd Robinson 56b4a91acf
Merge pull request #9434 from influxdata/er-card-nodb
Ensure db specified for SHOW CARDINALITY
2018-02-13 14:15:30 +00:00
Edd Robinson 5a8f0202fb Ensure db specified for commands 2018-02-13 13:24:23 +00:00
Jonathan A. Sternberg 0b905c059f
Merge pull request #9430 from influxdata/js-no-verbose
Use --no-verbose with wget to reduce output
2018-02-12 10:21:31 -06:00
Jonathan A. Sternberg 9c9f51a69c
Merge pull request #9426 from influxdata/js-monitor-test-deadlock
Fix a deadlock in the monitor test
2018-02-12 08:40:31 -06:00
Jonathan A. Sternberg 156cee7c96 Use --no-verbose with wget to reduce output
The progress bar makes it hard to scroll through the output and the
progress bar information is never useful.
2018-02-11 22:37:43 -06:00
Jonathan A. Sternberg b740567fe4 Fix a deadlock in the monitor test
A deadlock would happen if the monitor attempted to write multiple
points. Since the test only reads the first set of points written to the
channel and does not read from the channel on the second read, the
WritePoints call deadlocks while the monitor is trying to close since
the monitor requires all of its goroutines to end. But, one of the
goroutines is attempting to call WritePoints which is waiting for the
test to read the point it is trying to write.

This change ensures that the done channel is closed before calling close
so the WritePoints call can exit.
2018-02-09 14:18:25 -06:00
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