Commit Graph

13302 Commits (3f7076a68e79cbcb4f1af97dfd29b2f71fe71f77)

Author SHA1 Message Date
Hercules Mango Churchill 3f7076a68e Update changelog 2018-02-20 21:49:10 +00:00
Jason Wilder 2af4389717
Merge pull request #9464 from influxdata/jw-wal-lastmodified
Re-open last WAL segment
2018-02-20 14:48:52 -07:00
Jason Wilder f7279b57f3 Re-open last WAL segment
Re-open the last wal segment instead of creating a new one.  This fixes
an issue where the last modified time of the WAL would change on
restart.  It also avoids a lot of IO file churn on restart.
2018-02-20 14:24:04 -07:00
Jonathan A. Sternberg 6d008c3453
Merge pull request #9455 from influxdata/js-zap-logfmt-license
Add a reference to the license for zap-logfmt
2018-02-15 18:10:52 -05:00
Jonathan A. Sternberg 7fc1ead3d3 Add a reference to the license for zap-logfmt 2018-02-15 15:50:49 -06:00
Jason Wilder 387df59847
Merge pull request #9451 from influxdata/jw-inmem
Inmem series creation improvements
2018-02-15 11:51:53 -07:00
Edd Robinson 736eb28551
Merge pull request #9450 from influxdata/er-sketch-race
Fix data race when collecting sketches
2018-02-15 18:48:37 +00:00
Hercules Mango Churchill 5218efd1cb Update changelog 2018-02-15 18:22:05 +00:00
Stuart Carnie 6104597731
Merge pull request #9449 from influxdata/sgc-access-log
Added option to write HTTP request logs to separate file
2018-02-15 10:59:36 -07:00
Jason Wilder eeb0b967f9 Don't create series one at a time when limits in place
When a max series per data limit was in place (or 0), we would create
series one at a time which really affects throughput.  This does it
in bulk which is less accurate, but more performant.
2018-02-15 10:43:39 -07:00
Jason Wilder cadb3adea0 Increase SeriesSegment write buffer size
The batch of writes is almost always larger than the 4096 default
which leads to more write IOs.  Increasing to 32k allows the majority
of writes to be handled in one IO.
2018-02-15 10:17:34 -07:00
Stuart Carnie 4f90592316 Update config help docs 2018-02-15 09:39:50 -07:00
Jason Wilder 67e65e50ff Remove inmem lastModified time
This was added for preventing concurrent writes and deletes to the
same series.  This is not handled by the bitsets for both tsi and
inmme.  The time.Now() calls shows up in profiles and is not needed.
2018-02-15 09:29:52 -07:00
Edd Robinson 433e643364 Fix data race when collecting sketches 2018-02-15 11:16:32 +00:00
Stuart Carnie 584e7ac09a Added option to write HTTP request logs to separate file. 2018-02-14 23:11:01 -07:00
Hercules Mango Churchill 1a3af441cb Update changelog 2018-02-14 23:25:19 +00:00
Stuart Carnie 88d6543b84
Merge pull request #9445 from influxdata/sgc-nologo
Suppress the InfluxDB banner if the log output is not a TTY
2018-02-14 15:52:13 -07:00
Hercules Mango Churchill 482b2d5fb6 Update changelog 2018-02-14 22:24:10 +00:00
Stuart Carnie 1303030184 Suppress the InfluxDB banner if the log output is not a TTY 2018-02-14 15:23:58 -07:00
Jonathan A. Sternberg 4c76e5f441
Merge pull request #9443 from influxdata/js-9273-reduce-field-expressions
Fix regression when math between literals is used in a field
2018-02-14 17:19:24 -05:00
Hercules Mango Churchill b866943945 Update changelog 2018-02-14 19:49:29 +00:00
Jonathan A. Sternberg dd21fa15fd
Merge pull request #9056 from influxdata/js-configure-logging
Add logging configuration to the main configuration file
2018-02-14 14:39:42 -05:00
Jonathan A. Sternberg ca471f7d0f Fix regression when math between literals is used in a field 2018-02-14 14:34:34 -05:00
Jonathan A. Sternberg d864c7e857 Lock the writer for the logger to prevent a race condition when used from multiple goroutines 2018-02-14 14:04:08 -05:00
Mark Rushakoff 26545b33d6
Merge pull request #9439 from influxdata/mr-metauser-isadmin
Remove IsAdmin() method from meta.User interface
2018-02-14 09:05:17 -08:00
Jonathan A. Sternberg 2bb5b68833 Add an auto choice that will choose the most appropriate logger
This restricts the logging format options so console cannot be chosen.
This way, logs written to a non-TTY will never be the console format.
2018-02-14 11:56:29 -05:00
Stuart Carnie 46a6154657
Merge pull request #9441 from influxdata/sgc-compact
simplify code
2018-02-14 09:46:03 -07:00
Jonathan A. Sternberg 2efc9ddbac Add an option to suppress the initial logo
For any systems that want to read the log file in the specific format,
the logo being printed on restart may not be good for those parsers
since the log parser would have to be aware of the logos existance or
capable of just ignoring lines it couldn't parse.

This gives an option to disable the printed logo if required.

Like other logging options, this will fail if the configuration file
itself is invalid.
2018-02-14 10:11:02 -05:00
Jonathan A. Sternberg ccf2e549b8 Add logging configuration to the main configuration file
Make logfmt the default log output format with json and a more user
friendly console into possible options.
2018-02-14 10:11:02 -05:00
Stuart Carnie 6e47ff8d7f simplify code 2018-02-14 06:55:48 -07:00
Mark Rushakoff f7fc6a6501 Remove IsAdmin() method from meta.User interface
The method was only called in tests.
2018-02-13 16:59:22 -08: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