Commit Graph

8301 Commits (66827524081d1e97558d0384d84789a337c9cc87)

Author SHA1 Message Date
Philip O'Toole 6682752408 Update CHANGELOG for PR 4632
[ci skip]
2015-11-01 18:44:30 -08:00
Philip O'Toole 0fc8d4f301 Merge pull request #4632 from miguelxpn/ipv6
Fix ipv6 parsing in client
2015-11-01 18:41:07 -08:00
Miguel Xavier Penha Neto 9051451e00 Fix ipv6 parsing in client
Old implementation of function ParseConnectionString would parse ipv6 incorrectly

Added a unit test for this
2015-11-01 19:38:54 -02:00
Philip O'Toole 437f80af8d No need to quote build date during packaging
[ci skip]
2015-10-30 15:42:29 -07:00
Philip O'Toole 8fb60d8f8e Merge pull request #4627 from oiooj/master
condense skipWhitespace code
2015-10-30 14:50:16 -07:00
oiooj 5d87439eb3 condense skipWhitespace code 2015-10-31 03:21:00 +08:00
Philip O'Toole d909b0cf30 Merge pull request #4625 from influxdb/panic_points
Correctly handle bad write requests
2015-10-30 11:16:26 -07:00
Philip O'Toole bd0c304c91 Update CHANGELOG 2015-10-30 11:08:14 -07:00
Philip O'Toole 3ea4366e4e Unit test handling bad write requests 2015-10-30 11:05:47 -07:00
oiooj d9a60d7e4c fix write points panic 2015-10-30 10:52:50 -07:00
Philip O'Toole cbe56e0246 Merge pull request #4620 from dhowden/http-var-names
Use HTTPS instead of Https in variable names
2015-10-29 15:42:02 -07:00
David Howden 5044b9d42c Use HTTPS instead of Https in variable names 2015-10-30 08:49:37 +11:00
Philip O'Toole 4cec36c209 Merge pull request #4610 from influxdb/consistent_stats
Change internal stats to consistent names
2015-10-28 21:09:34 -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
Jason Wilder 78086cfa08 Merge pull request #4596 from ch33hau/models_point_skip_empty_string
skip empty string for start position
2015-10-28 19:15:03 -06:00
Jason Wilder 84f389f8fe Merge pull request #4608 from influxdb/jw-tsm-races
Fix data races in TSM dataFile
2015-10-28 16:23:59 -06:00
Jason Wilder 239f43b529 Remove commented out test skip
[ci skip]
2015-10-28 16:14:54 -06:00
Jason Wilder 1cd30501fd Ensure calling Delete on a deleted file does not panic 2015-10-28 16:11:42 -06:00
Jason Wilder 0db2192f10 Replace use of reflect.DeepEquals with dataFilesEquals
Since the reflect.DeepEquals seems to reach into the dataFile without
acquiring a lock, it's not safe to use it.
2015-10-28 16:02:13 -06:00
Jason Wilder 9d8018297d Prevent writing to a deleted file
When a dataFile is deleted, the f file pointer is set to nil.  Since deleting
a file happens asynchronously, code that had a reference when it was valid may
run when it's gone.
2015-10-28 15:56:46 -06:00
Philip O'Toole 3647215c43 Merge pull request #4607 from influxdb/move_balancer
Move node balancer into cluster package
2015-10-28 14:42:01 -07:00
Philip O'Toole 2f80e68b2a Move node balancer into cluster package
Initial work for #3377.
2015-10-28 14:35:03 -07:00
Jason Wilder a1d8af2441 Fix data race in tsm dataFile
dataFile was not protected by a mutex which causes a data race and live
code and tests.  filesAndLock used reflect.DeepEqual on a copy of dataFile
slices.  reflect.DeepEqual appears to access unexported dataFile fields
which can't be protected.  This was changed to use a equals func that will
require a mutex to be acquired.

The other issue was that many of the dataFile funcs access the mmap without
acquiring a lock.  When a dataFile is deleted (possibly during rewriting),
reads from the mmap could return invalid data because references to the dataFile
are still in use by other goroutines.

Fixes #4534
2015-10-28 15:21:36 -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
Philip O'Toole 1f6f9b35d1 Unit test ping endpoint 2015-10-28 11:37:25 -07:00
Philip O'Toole 2046556b71 Ping endpoint supports waiting for leader 2015-10-28 11:37:07 -07:00
ch33hau f13af15e71 skip empty string for start position 2015-10-29 02:28:48 +08:00
Philip O'Toole bb8ee65261 Merge pull request #4592 from glennon/patch-1
Update QUERIES.md
2015-10-28 09:38:43 -07:00
Philip O'Toole 2b5bbae39f Merge pull request #4597 from influxdb/clearer_precreate
Clearer log messages on shard-precreation
2015-10-28 08:42:07 -07:00
Philip O'Toole 2f3f7b82bc Clearer log messages on shard-precreation 2015-10-28 08:33:39 -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 3ee1f19316 Add precreation section to sample config 2015-10-28 08:19:37 -07:00
Alan Glennon 285a6d2ceb Update QUERIES.md
simple spelling correction: continous --to--> continuous
2015-10-27 23:02:18 -07: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 7278ec96a9 Merge pull request #4590 from influxdb/token_msg_on_cli_only
Only display Enterprise hint on CLI mode
2015-10-27 18:33:31 -07:00
Philip O'Toole 6311a2bf0a Merge pull request #4518 from Lanzafame/master
Updated godoc.org link to v2 docs.
2015-10-27 18:13:17 -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
Philip O'Toole a727a8dd3f Only display Enterprise hint on CLI mode
This change moves the logic to detect and display the Enterprise
registration hint into the same logic check as that which decides if the
successful-connection message should be displayed.

Fixes #4514.
2015-10-27 17:18:18 -07:00
Jason Wilder caa240a61c Update changelog 2015-10-27 17:12:57 -06:00
Jason Wilder 7d6d23e661 Write as many points as we can parse via line protocol
This changes the HTTP line protocol handler to behave similar to the other
handler in that they will write as many points as possible.  Previously, we
would fail the entire batch if one point failed.  This can happen more frequently
now with NaN being more explicitly unsupported.  Now it will write as many points
that parse successfully and return a "partial write" error to the client with the
lines that failed to parse.
2015-10-27 17:12:57 -06:00
Jason Wilder 4d24b05ac1 Log WAL points that fail to parse
Mainly for debugging as since this should not happen going forward.  Since
there may be points with NaN already stored in the WAL, this is helpful for
troubleshooting panics.
2015-10-27 17:12:56 -06:00
Jason Wilder 7f4a3f516b Return error if NaN is encoded in a block 2015-10-27 17:12:56 -06:00
Jason Wilder 0926b19e6b Prevent creating points with NaN float values
Float values are not supported in the existing engine and the tsm1
engines.  This changes NewPoint to return an error if a field value
contains a NaN field.  It also allows us to validate fields to prevent
other unsupported types from sneaking in through other input plugins.
2015-10-27 17:12:52 -06:00
Jason Wilder c874e48406 Return parse error for NaN float values
Not currently supported.
2015-10-27 16:50:56 -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 1f75ca2df1 Merge pull request #4582 from oiooj/master
fix logger tag
2015-10-27 12:01:14 -07:00
MrLee.Kun 883640a288 change cluster logger tag 2015-10-27 15:32:51 +08:00