Mark Bates
98632778dd
%s will convert a float to a less than useful string. %v is better.
2015-11-20 15:43:35 -05:00
Mark Bates
c71e323d63
ServerID and ClusterID need to be strings when being sent to Enterprise.
2015-11-20 15:22:27 -05:00
Cory LaNou
6309ec9a68
fix time inclusive comparison
2015-11-17 10:43:27 -06:00
Cory LaNou
824d7a1d9b
Add interface for heap to support Reverse for `order by desc`
2015-11-16 15:10:55 -06: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
eebf157171
Remove incorrect count() tests
2015-11-12 19:08:44 -08:00
Philip O'Toole
f889ac1140
If no points to count, count is 0
...
Fix issue #4701 .
2015-11-12 18:52:58 -08:00
Philip O'Toole
dc609b06fd
Set GOMAXPROCS before log message
...
Previously the impression was being given that GOMAXPROCS was not being
set correctly.
2015-11-12 13:28:35 -08: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
Philip O'Toole
bc1091ec31
Revert "Merge pull request #4684 from nkatsaros/default-config"
...
This reverts commit 87441584f3
, reversing
changes made to a14829bc1d
.
2015-11-11 09:29:06 -08:00
Pablo Miranda
b908cbb866
fix lint errors for cmd/...
...
corrects the initialize package comment for lint
brings c.ServerVersion back
2015-11-10 23:13:01 -08:00
ch33hau
8bfdfbda0b
Disable HintedHandoff if configuration is not set. #4283
2015-11-11 01:12:34 +08:00
oiooj
6e9b210e63
raft.raftLayer already closed in raft.NetworkTransport.Close()
2015-11-10 00:09:19 +08:00
ch33hau
2235dcec6b
Added IF EXISTS for DROP DATABASE command, #4659
2015-11-07 10:57:49 +08:00
Mark Bates
8ac958f8a0
Merge pull request #4683 from influxdb/enterprise-client
...
Updated to use the new Enterprise Client
2015-11-06 13:13:15 -05:00
Mark Bates
d46bf535b2
Report anonymous stats to Enterprise
2015-11-06 10:30:57 -05:00
Philip O'Toole
a9e22dad5c
Merge pull request #4674 from simcap/master
...
Fix restore panic issue #4671
2015-11-06 00:19:51 -08:00
Philip O'Toole
87441584f3
Merge pull request #4684 from nkatsaros/default-config
...
Add graphite and udp services to the default config generator
2015-11-05 17:53:15 -08:00
Nathaniel Cook
1719a6107c
PointsWriter will drop writes to subscriber service for any in-flight writes
2015-11-05 16:25:00 -07:00
Nicholas Katsaros
4f8b0aca9a
Add graphite and udp services to the default config generator
2015-11-05 16:42:21 -05:00
simcap
c9c68e8cd3
Fix restore panics #4671
...
When unpacking the meta, the Store `Addr` is built
against the hostname and the `bind-address` port.
We can use this resolved address for the `RemoteAddr`
as well since according to the clustering docs the
`hostname must be resolved by all members in the cluster`
2015-11-05 18:31:04 +01:00
oiooj
dafc6fff42
Fix restore functionality panics
2015-11-03 19:25:33 +08: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
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
Philip O'Toole
f703f58d22
Add HH diagnostics
2015-10-26 18:59:58 -07:00
Cory LaNou
ff4209436f
close raftState before waiting
2015-10-23 14:48:32 -06:00
Cory LaNou
90beaee803
silence subscriber service logging during testing
2015-10-23 14:48:32 -06:00
Ben Johnson
28b585e639
refactor tsdb query engine
...
This commit refactors the tsdb query engine to use separate aggregate
and raw execution paths, encapsulates cursor functionality, and removes
the TagSetCursor from the aggregate path. By removing the TagSetCursor,
we can pass sets of unordered values to the map functions and bypass
the `container/heap` entirely.
2015-10-22 09:41:12 -06:00
Philip O'Toole
956efaeb94
Merge pull request #4506 from influxdb/enterprise_stats
...
Enterprise registration as a service
2015-10-20 08:57:19 -07:00
David Norton
a3d127f797
Revert "add RENAME DATABASE"
...
This reverts commit 7212bfce83
.
Conflicts:
influxql/parser.go
influxql/token.go
meta/internal/meta.pb.go
meta/internal/meta.proto
2015-10-20 09:01:34 -04:00
David Norton
307d51dad5
Revert "add integration test for RENAME DATABASE"
...
This reverts commit d2afd881e6
.
2015-10-20 08:43:57 -04:00
David Norton
20929c3db2
Revert "change syntax to ALTER DATABASE ... RENAME TO ..."
...
This reverts commit 668b5b9bfb
.
2015-10-20 08:43:45 -04:00
David Norton
73a0c0a247
Revert "return error when database rename conflicts with continuous queries"
...
This reverts commit 60d298936e
.
2015-10-20 08:39:03 -04:00
Philip O'Toole
878663e1e3
Periodic upload of stats to Enterprise
2015-10-19 15:25:07 -07:00
Philip O'Toole
667ad3342a
Refactor registration as a service
...
Registration also involves statistics and diagnostics upload, for the
purposes of remote management. This means there will be long-running
goroutines in effect. Therefore move the code to a service model.
2015-10-19 15:01:14 -07:00
David Norton
a268ba6bb4
feat #3523 : add unit test for no matches
2015-10-19 14:40:06 -04:00
David Norton
401447cbed
feat #3523 : filter SHOW MEASUREMENTS by WITH
2015-10-19 14:00:53 -04:00
Daniel Morsing
e73c37088f
Merge pull request #4454 from influxdb/intofixes
...
Intofixes
2015-10-19 18:58:42 +01:00
Charles Chan
456a9a8ab7
Fix typos.
...
* meaining --> meaning
* communcation --> communication
* deterimine --> determine
* mistmatch --> mistmatch
2015-10-17 07:50:45 -07:00
David Norton
026611aea9
fix #4475 : update unit test for new error message
2015-10-16 10:50:35 -04:00
Cory LaNou
a2102e19ba
always return time, never strings. fixes #4415
2015-10-15 20:19:58 -05:00
Mark Bates
8f16a85cd2
Fixed issue sending JSON numbers to Enterprise when it wants strings
2015-10-15 16:51:48 -04:00
Philip O'Toole
0f001a6d9a
Handle registration errors from Enterprise server
2015-10-15 13:48:23 -07:00
Philip O'Toole
07db774423
Register with Enterprise if token available
2015-10-15 13:13:34 -07:00
Philip O'Toole
a7e841f447
Add config support for Enterprise token
2015-10-15 13:02:16 -07:00
Nathaniel Cook
cb1aaa8e42
Merge pull request #4375 from influxdb/subscriptions
...
Feature add subscriber service for creating/dropping subscriptions
2015-10-15 09:17:26 -06:00
Daniel Morsing
d990b5f28d
fix into queries when encountering nil values.
...
For aggregate queries, having a null result means that you haven't
got any data for that time period. CQs used this as a signal that
the measurement was not created and dropped the entire write.
INTO queries can have any structure, including wildcards, so dropping
the entire query isn't going to work. Instead, just drop the nulls
returned.
2015-10-15 12:12:40 +00:00
Sean Beckett
82f104a8b1
Merge pull request #4436 from influxdb/tag-names-to-keys
...
WIP tag name --> tag key, field name --> field key
2015-10-14 16:02:46 -07:00