Commit Graph

1287 Commits (2a7abbab1fce8f9b34995c13f159f267c0f24499)

Author SHA1 Message Date
Cory LaNou 958d5ecca3 release 0.10.0 2016-02-08 11:14:18 -06:00
Jason Wilder f6ebb0b242 Merge pull request #5522 from methane/tsm1-optimize
[tsm1] Change timestamp from time.Time to unixnano
2016-02-04 10:20:41 -07:00
Paul Dix 706a23fe79 Update CHANGELOG.md 2016-02-03 10:28:58 -08:00
Edd Robinson 1bcb1d033f Allow Close to be called multiple times safely 2016-02-03 10:20:22 +00:00
Edward Robinson c7bbe6ef17 Remove engine on close 2016-02-03 10:19:42 +00:00
INADA Naoki 3ce1c66f7a Update CHANGELOG 2016-02-03 11:07:32 +09:00
David Norton efbac5fce2 fix #5505: clear authCache when pwd changes 2016-02-02 17:51:21 -05:00
Seif Lotfy 0864816c8b Add unit tests to ensure retention policy for non existing db is not created 2016-02-02 21:03:16 +01:00
Seif Lotfy c3fb710871 Initialize MetaClient before setting it up as a data and/or meta node
Take out MetaClient initialization from initializeDataNode and invoke it
in (server.)Open after MetaService is opened.
Fixes #5479
2016-02-02 17:39:29 +01:00
Edward Robinson b8e42cdd3a Ensure non-interactive mode returns appropriate exit code
Fixes #5475.
2016-02-02 15:23:16 +00:00
Joe LeGasse 2bd85b3c9e Update first() and last() to handle varying types 2016-02-01 11:38:08 -05:00
Alex Russell-Saw 5bde459f01 client: reject uint64 Client.Point.Field values 2016-02-01 16:17:47 +00:00
Jason Wilder 924275b337 Fix panic preventing wal file truncation
Fixes #5455
2016-01-28 21:50:51 -07:00
Jason Wilder 01193668cf Fix nil pointer panic when dropping collectd points
Fixes #5449
2016-01-28 21:36:59 -07:00
Joe LeGasse d2816dbb34 Updated CHANGELOG 2016-01-28 13:11:26 -05:00
Todd Persen 0328ac1a7e Fix typo in README.md 2016-01-27 15:16:37 -08:00
Todd Persen 265e3aff8c Update CHANGELOG.md 2016-01-27 15:15:16 -08:00
Todd Persen e5fa969306 Update CHANGELOG.md 2016-01-26 18:30:05 -08:00
Joe LeGasse 8791011b10 Validate metadata backup blob
Fixes #5349
2016-01-19 10:30:08 -08:00
Edd Robinson 789aff9b23 Fixes #5380 and #5381 2016-01-19 17:10:03 +00:00
Jonathan A. Sternberg 8eac790eab Fix a panic when a tag value was empty
A panic would happen if you wrote the following:
    cpu,host=

There was a missing bounds check when scanning the tag value.

Fixes #5262.
2016-01-16 12:21:32 -05:00
Joe LeGasse d0b8b2acab Updated CHANGELOG.md for fixing #5350 2016-01-15 15:13:33 -08:00
Jason Wilder 9c851f790e Use go1.4.3
Fixes #5283 #5217
2016-01-10 16:43:31 -07:00
Jason Wilder 5b179113fc Don't close tsm cursor prematurely
We were closing the cursor when we read the last block which caused
the internal state to be cleared.  In a group by query, we seeked multiple
times so depending on the group by interval and how the data was laid out
in the blocks, we woudl close the cursor and the last block would get skipped.

Fixes #5193
2016-01-10 15:26:01 -07:00
Jonathan A. Sternberg 8fc4cbe7ce Merge pull request #5186 from pires/5077-throw_parse_error
Fixes #5077
2016-01-07 20:29:00 -05:00
Philip O'Toole db2f3bd5ba Update CHANGELOG for PR 5129
[ci skip]
2016-01-07 14:49:04 -08:00
Paulo Pires 17c2a344cd Fixed database creation with retention statement parsing. Fixes #5077 2016-01-07 22:08:19 +00:00
Jason Wilder bd63489ef0 Update changelog
[ci skip]
2016-01-07 08:30:59 -07:00
Philip O'Toole c1e847af22 Update CHANGELOG for PR 5226
[ci skip]
2016-01-06 14:00:49 -08:00
Paul Dix 6ccc416ef0 Update CHANGELOG.md 2015-12-31 09:13:56 -05:00
Jonathan A. Sternberg 0931e30dd2 Merge pull request #5194 from influxdb/js-5136-per-cq-options
Custom continuous query options per query rather than per node
2015-12-29 14:00:39 -05:00
Jonathan A. Sternberg 5d4ecf853c Add continuous query option for customizing resampling
This makes the following syntax possible:

    CREATE CONTINUOUS QUERY mycq ON mydb
        RESAMPLE EVERY 1m FOR 1h
        BEGIN
          SELECT mean(value) INTO cpu_mean FROM cpu GROUP BY time(5m)
        END

The RESAMPLE option customizes how often an interval will be sampled and
the duration. The interval is customized with EVERY. Any intervals
within the resampling duration on a multiple of the resample interval
will be updated with the new results from the query.

The duration is customized with FOR. This determines how long an
interval will participate in resampling.

Both options are optional. If RESAMPLE is in the syntax, at least one of
the two needs to be given. The default for both is the interval of the
continuous query.

The service also improves tracking of the last run time and the logic of
when a query for an interval should be run. When determining the oldest
interval to run for a query, the continuous query service determines
what would have been the optimal time to perform the next query based on
the last run time. It then uses this time to determine the oldest
interval that should be run using the resample duration and will
resample all intervals between this time and the current time as opposed
to potentially forgetting about the last run in an interval if the
continuous query service gets delayed for some reason.

This removes the previous config options for customizing continuous
queries since they are no longer relevant and adds a new option of
customizing the run interval. The run interval determines how often the
continuous query service polls for when it should execute a query. This
option defaults to 1s, but can be set to 1m if the least common factor
of all continuous queries' intervals is a higher value (like 1m).
2015-12-28 16:43:49 -05:00
Jonathan A. Sternberg 4813d82285 Fix the line protocol scanner to read field keys with quotes correctly
Quotes are not supposed to be significant in field keys, but are
significant in field values. The code as it currently was would
consider quotes in a key to be significant, but the later parser that
would unmarshal the fields from the byte string did not consider those
quotes to be significant. This meant that the following string:

    "a=1

The line protocol parser would see a mismatched quote instead of a valid
input to the line protocol. But more nefariously, the following string:

    "a=1"=2

The line protocol parser would ignore the first equals since it is
located in the quotation marks and think this was a valid input. It
would then pass it on to the field parser who would panic and die when
it tried to parse `1"=2` as a number.

Fixes #4076.
2015-12-23 09:14:28 -05:00
Philip O'Toole 3264ab02b4 Update CHANGELOG for PR5201
[ci skip]
2015-12-22 13:34:20 -05:00
Philip O'Toole 70353a116c Update CHANGELOG for PR5183
[ci skip]
2015-12-22 07:09:54 -08:00
Philip O'Toole 308cab0a52 Update CHANGELOG for PR 5178
[ci skip]
2015-12-21 15:44:50 -08:00
Philip O'Toole 8004f117e0 Credit for PR 5078
[ci skip]
2015-12-17 15:00:19 -08:00
nick.grange 33de878956 Fixed #5078 to support Inserts in non-interactive mode.
Changed non-interactive mode to send everything through the CLI's parser the same way the interactive mode works.
Added multiline support for -execute flag.
2015-12-17 23:42:30 +11:00
Nathaniel Cook 8214676363 fix panic when merging empty series 2015-12-15 11:32:51 -07:00
David Norton 7ae4e2a3e0 fix #4303: update CHANGELOG.md 2015-12-12 13:56:39 -05:00
Philip O'Toole e97fef4804 Update CHANGELOG 2015-12-10 11:48:10 -08:00
Philip O'Toole de90215b7b Update CHANGELOG for PR5064
[ci skip]
2015-12-10 08:46:22 -08:00
Philip O'Toole eb48c93b30 Merge pull request #5074 from influxdb/go1.5.2-take-2
Move to Go 1.5.2
2015-12-09 17:12:59 -08:00
Nathaniel Cook b7000c80dd count with fill(none) will drop 0 valued intervals 2015-12-09 15:20:47 -07:00
Nathaniel Cook eb080785d4 add bounds checking for shard group timestamps
enforce strict valid time ranges on points

small
2015-12-09 13:07:13 -07:00
Philip O'Toole 7bae79cb71 Move to Go 1.5.2 2015-12-09 11:53:00 -08:00
Philip O'Toole e2ae97b2cd Update CHANGELOG for PR 4940
[ci skip]
2015-12-09 11:06:08 -08:00
Philip O'Toole 40aae98d02 Correct typo in CHANGELOG
[ci skip]
2015-12-09 10:54:04 -08:00
Philip O'Toole 699ff6e1fd Update CHANGELOG for PR 5059
[ci skip]
2015-12-09 10:53:06 -08:00
Paul Dix f844092c83 Update CHANGELOG.md 2015-12-09 11:15:35 -05:00
Paul Dix b341fdf90f Update CHANGELOG.md 2015-12-08 10:19:47 -05:00
Paul Dix 6b040c82f0 Update CHANGELOG.md 2015-12-08 09:40:45 -05:00
Paul Dix a8b3358121 Update CHANGELOG.md 2015-12-08 09:34:32 -05:00
Philip O'Toole 9c65e1750a Update CHANGELOG for PR 5016
[ci skip]
2015-12-07 20:29:02 -08:00
Philip O'Toole a5cb913035 Drop UDP point on bad parse and keep going
Fixes issue #4992.
2015-12-07 19:47:59 -08:00
Philip O'Toole 70225ec662 Remove duplicate feature listing from 0.9.6
[ci skip]
2015-12-07 19:17:11 -08:00
Paul Dix c7af658a12 Update CHANGELOG.md 2015-12-07 21:15:01 -05:00
Philip O'Toole f326c6c0e4 Add 0.9.7 section to CHANGELOG
[ci skip]
2015-12-07 17:39:56 -08:00
Nathaniel Cook 7ffbbc1072 make fill previous for count() queries work 2015-12-07 12:51:40 -07:00
Nathaniel Cook 3227951069 Stub out DELETE in parser to return better error 2015-12-04 14:47:44 -07:00
Nathaniel Cook bd6961a00e Validate previous value in derivative calc as well 2015-12-04 13:01:37 -07:00
Philip O'Toole 3540f4c168 Fix typo in CHANGELOG
[ci skip]
2015-12-04 11:06:30 -08:00
Philip O'Toole 90001e3670 Update CHANGELOG for PR 4984
[ci skip]
2015-12-04 11:06:03 -08:00
Philip O'Toole 5ed416c4f9 Update CHANGELOG for PR4866
[ci skip]
2015-12-04 06:21:00 -08:00
Philip O'Toole 30a1a0ef8d Update CHANGELOG for recent merges
[ci skip]
2015-12-04 06:03:02 -08:00
Cory LaNou 7e1dc0231d fix data race in TSDB 2015-12-03 13:52:27 -06:00
Cory LaNou 8cffa4d9a2 changelog 2015-12-03 11:13:52 -06:00
Cory LaNou edf8e31ee6 update changelog 2015-12-03 08:09:18 -06:00
Paul Dix b5200ad472 Update CHANGELOG.md 2015-12-02 11:38:43 -05:00
Paul Dix 5958f31130 Update CHANGELOG.md 2015-12-02 11:35:00 -05:00
Cory LaNou e5b9ac944b Update changelog for #4876
changelog entry for #4876
2015-12-02 08:58:38 -06:00
Philip O'Toole f8040269d9 Update CHANGELOG for latest bug fixes
[ci skip]
2015-11-30 08:11:47 -08:00
Ben Johnson 41459cf687 fix flush deadlock
This commit fixes a deadlock that occurs during b1 flushes. It's
caused by taking locks in a different order. In the flush, b1
locks the engine and then bolt. However, in the query cursor, a
lock is obtained on bolt first (via `DB.Begin()`) and then the
engine is locked while reading from the engine's cache.
2015-11-25 15:00:06 -07:00
Philip O'Toole 45502d288f Update CHANGELOG for PR 4833
[ci skip]
2015-11-25 10:51:02 -08:00
Philip O'Toole f9475e3e3f Merge pull request #4902 from EricSmekens/patch-1
Update changelog.md. Removed double change.
2015-11-25 09:03:57 -08:00
Eric Smekens 3fac74bebb Update changelog.md. Removed double change.
#4659 was double in the changelog.
2015-11-25 13:39:45 +01:00
Cory LaNou be488b7d12 implement close notifier and timeout on executors 2015-11-24 21:07:18 -06:00
Mark Rushakoff 94e47093b6 Update CHANGELOG 2015-11-23 14:51:57 -08:00
Philip O'Toole 46988d22c7 Update CHANGELOG for PR 4790
[ci skip]
2015-11-23 07:45:19 -08:00
mengjinglei 580f71ffc8 updated CHANGELOG.md 2015-11-21 09:47:41 +08:00
Philip O'Toole b1c5a36b0d Merge pull request #4846 from jsternberg/feature/allow-nan-in-graphite-service
Allow NaN as a valid value on the graphite service
2015-11-20 08:09:51 -08:00
Jonathan A. Sternberg 5fa36639db Allow NaN as a valid value on the graphite service
The canonical graphite implementation will read and discard NaN values
instead of throwing an error when reading on the line receiver protocol.
Since this is the default behavior for graphite, InfluxDB should have
the same behavior for compatibility.

Previously, a NaN value would result in an error printed to the console.
When you have a large number of NaN values being sent every minute, this
results in the log file filling with useless messages.
2015-11-20 11:07:25 -05:00
Jason Wilder 6df6abea0e Update changelog 2015-11-20 09:05:07 -07:00
Jason Wilder d2c94fce16 Merge pull request #4841 from e-dard/points-refactor
Fix parsing issues in models.scanKey
2015-11-20 09:03:05 -07:00
Philip O'Toole ca8530d5d9 0.9.5. is out
[ci skip]
2015-11-20 07:31:05 -08:00
Philip O'Toole 8ef5a056ba Merge pull request #4815 from li-ang/fix_4801
Fix aggregate output across the cluster
2015-11-20 06:40:18 -08:00
Edd Robinson 9e506a2fe1 Update CHANGELOG 2015-11-20 14:30:33 +00:00
Edd Robinson e995fba9b1 Update CHANGELOG 2015-11-20 01:26:22 +00:00
Philip O'Toole 68408a73f4 Merge pull request #4792 from mateuszdyminski/show_shard_groups
SHOW SHARD GROUPS
2015-11-18 16:52:04 -08:00
Philip O'Toole 7e8def590e Update CHANGELOG for PR 4411
[ci skip]
2015-11-18 16:13:34 -08:00
liang@qiniu.com a712a1c2b6 updated CHANGELOG.md 2015-11-18 01:28:09 +08:00
Cory LaNou c12881ff10 Merge pull request #4822 from influxdb/fix-4193
Fix time inclusive comparison
2015-11-17 10:50:51 -06:00
Cory LaNou 6309ec9a68 fix time inclusive comparison 2015-11-17 10:43:27 -06:00
CrazyJvm 6e60e3226a check point without fields when NewPoint 2015-11-17 13:21:52 +08:00
Cory LaNou 824d7a1d9b Add interface for heap to support Reverse for `order by desc` 2015-11-16 15:10:55 -06:00
John Nguyen cfbfbc2361 corrected URL 2015-11-16 17:37:01 +08:00
John Nguyen 90ea3fc4ad updated CHANGELOG.md 2015-11-16 17:36:21 +08:00
Mateusz Dymiński 8090ba6830 SHOW SHARD GROUPS 2015-11-14 22:27:24 +01:00
Cory LaNou 43a4201a33 update changelog for 4768 2015-11-14 07:27:41 -06:00
Philip O'Toole 5333437d5b Correct CHANGELOG re PR4778
[ci skip]
2015-11-13 17:57:07 -08:00
Philip O'Toole 1228431d85 Merge pull request #4789 from influxdb/multi_field_agg
WHERE fields must be decoded during aggregates
2015-11-13 17:30:32 -08:00
Philip O'Toole 912684b8d6 WHERE fields must be decoded during aggregates
This change ensures that if there are any fields in the WHERE clause of
an aggregate that are different from the fields in the SELECT clause,
that the cursors also decode those fields. Otherwise WHERE clauses of
the form 'SELECT f(w) FROM x WHERE y=z' will return incorrect results

Fixes issue #4701.
2015-11-13 15:18:54 -08:00
Philip O'Toole 7ea9b3e49e Allow openTSDB point errors logging to be disabled 2015-11-13 14:54:54 -08:00
Philip O'Toole 7d506c1e64 Update CHANGELOG for PR 4766
[ci skip]
2015-11-13 11:18:58 -08:00
Philip O'Toole 664b20e5fd CHANGELOG typo
[ci skip]
2015-11-12 19:42:24 -08:00
Philip O'Toole df6e76d357 Update CHANGELOG for 0.9.6
[ci skip]
2015-11-12 19:18:34 -08:00
Philip O'Toole a8fa58b8e9 Update CHANGELOG 2015-11-12 19:08:47 -08:00
Ross McDonald bd186195db Restructured filesystem hierarchy, and updated pre/post installation scripts to ease upgrade progress. Also adding first iteration of new build script (build.py).
New package filesystem hierarchy:
	 - /var/lib/influxdb => Data directories
	 - /usr/lib/influxdb => Scripts and other miscellaneous files
	 - /etc/influxdb => Configuration
	 - /usr/bin/ => Where InfluxDB binaries will live
2015-11-12 10:42:41 -06:00
Philip O'Toole 3cab8fac02 Revert to Go 1.4.2
This is not passing 'go vet' under 1.4.2.
2015-11-11 15:48:37 -08:00
Cory LaNou 8ec4d04c71 Merge pull request #4685 from influxdb/heal-raft-cluster
Heal raft cluster
2015-11-11 11:44:12 -06:00
Philip O'Toole 615f47bbcd Update CHANGELOG for reverted PR 2015-11-11 09:30:40 -08:00
Cory LaNou 4187fbba02 better changelog description 2015-11-11 10:05:25 -06:00
Cory LaNou 7fb0f90911 update changelog 2015-11-11 10:04:26 -06:00
Cory LaNou 1f4c442a3c Update Changelog for #4703 2015-11-11 08:50:14 -06:00
Cory LaNou 6ecb62e4d2 Merge pull request #4737 from ch33hau/4283-hh-throws-error-even-if-disabled
Disable HintedHandoff if configuration is not set. #4283
2015-11-10 19:07:27 -06:00
Cameron Sparr 9625953d3e Add UDP OS buffer size recommendations 2015-11-10 11:00:11 -07:00
ch33hau 8bfdfbda0b Disable HintedHandoff if configuration is not set. #4283 2015-11-11 01:12:34 +08:00
Philip O'Toole bbe9058041 Don't SHOW SHARDS for deleted shard groups
Fixes issue #4709.
2015-11-09 17:02:34 -08:00
Philip O'Toole 98ef90094d Update CHANGELOG for PR 4704
[ci skip]
2015-11-09 16:09:31 -08:00
Nathaniel Cook fb07f2fc83 Merge pull request #4721 from influxdb/nc-export-interfaceValues
export interfaceValues since it is returned from DisticntReduce
2015-11-09 17:03:29 -07:00
Philip O'Toole d34a0baadb Update CHANGELOG for PR 4715
[ci skip]
2015-11-09 15:45:13 -08:00
Nathaniel Cook 23899e0990 CHANGELOG.md 2015-11-09 16:38:06 -07:00
Philip O'Toole de660b4737 Update CHANGELOG for PR 4098
[ci skip]
2015-11-09 14:37:40 -08:00
Philip O'Toole 421e31bff7 Update CHANGELOG for PR4659
[ci skip]
2015-11-09 10:23:54 -08:00
ch33hau 2235dcec6b Added IF EXISTS for DROP DATABASE command, #4659 2015-11-07 10:57:49 +08:00
Cameron Sparr 78e6979be5 Make parser/writer internal func names consistent 2015-11-06 16:43:35 -07:00
Philip O'Toole 59f9f2bbab Update CHANGELOG for PR 4674
[ci skip]
2015-11-06 00:22:32 -08:00
Philip O'Toole ef84e33e7b Update CHANGELOG for PR 4684
[ci skip]
2015-11-05 17:54:37 -08:00
Philip O'Toole a14829bc1d Update CHANGELOG for PR 4690
[ci skip]
2015-11-05 16:52:04 -08:00
Cory LaNou 516a80e4be reneable toml test TestConfig_Encode fixes #4691 2015-11-05 18:40:42 -06:00
Nathaniel Cook 1719a6107c PointsWriter will drop writes to subscriber service for any in-flight writes 2015-11-05 16:25:00 -07:00
Cameron Sparr e2db577e0f Implement a UDP client
closes #4647
2015-11-04 14:18:14 -07:00
Cory LaNou ac563ad97d Importer fixes. fixes #4650 #4651 2015-11-03 16:26:17 -06:00
Philip O'Toole ae8b458d9e Merge pull request #4644 from influxdb/cli_auth_panic
Check for errors in response during token check
2015-11-03 08:08:23 -08:00
Philip O'Toole 8fcf7b3dfa Update CHANGELOG for PR4643
[ci skip]
2015-11-03 08:07:20 -08:00
Philip O'Toole e6dffd12c7 Check for errors in response during token check
Fixes issue #4641.
2015-11-03 07:59:37 -08:00
Philip O'Toole 6682752408 Update CHANGELOG for PR 4632
[ci skip]
2015-11-01 18:44:30 -08:00
Philip O'Toole bd0c304c91 Update CHANGELOG 2015-10-30 11:08:14 -07:00
Philip O'Toole de7919240f Migrate internal stats to consistent names
Go style -- and existing runtime stats -- do not use underscores, but
instead use camel case. This change makes the internal stats adhere to
that convention.
2015-10-28 21:07:45 -07:00
Jason Wilder 4e2a16c459 Update changelog
[ci skip]
2015-10-28 19:16:52 -06:00
Philip O'Toole ef190b4013 Merge pull request #4600 from influxdb/wait_for_leader
ping endpoint can now wait for leader
2015-10-28 12:04:53 -07:00
Philip O'Toole 278e97cbbe Update CHANGELOG 2015-10-28 11:40:12 -07:00
Jason Wilder 7508a2a252 Merge pull request #4587 from influxdb/jw-nan
Prevent NaN float values from being stored
2015-10-28 09:28:04 -06:00
Philip O'Toole d8e4655e0f Merge pull request #4586 from influxdb/engine_fail_msg
Exit when invalid engine is selected
2015-10-27 21:50:01 -07:00
Philip O'Toole 00b2454c53 Exit if invalid engine is selected
Fix #4584, related to #4583
2015-10-27 17:29:18 -07:00
Jason Wilder caa240a61c Update changelog 2015-10-27 17:12:57 -06:00
Philip O'Toole 335e4325d8 Merge pull request #4516 from influxdb/hh_processor_per_node
Refactor hinted-handoff service
2015-10-27 14:43:08 -07:00
Philip O'Toole 2cda3be9c0 Update CHANGELOG for PR 4582
[ci skip]
2015-10-27 12:02:28 -07:00
Philip O'Toole 95f9937d8f Update CHANGELOG 2015-10-26 18:59:58 -07:00
Jason Wilder 68c2b6e79e Merge pull request #4580 from influxdb/jw-4538
Fix dropping database under write load
2015-10-26 14:03:22 -06:00