Commit Graph

7278 Commits (02e2ed84434d54f1983f4e535f88dcc9f1a8a75d)

Author SHA1 Message Date
Daniel Morsing 854d7be0c6 Merge pull request #3952 from influxdb/revert-3951-queryOpt
Revert "move aggregate functions"
2015-09-02 10:48:36 -07:00
Daniel Morsing c4092d7fc3 Revert "move aggregate functions" 2015-09-02 10:47:58 -07:00
Ben Johnson b63ebb72a5 limit bz1 quickcheck tests to 10 iterations on CI
This commit checks the `CI` environment variable in the bz1
test suite and limits the quickcheck runs if the value is `true`.
2015-09-02 11:27:11 -06:00
Daniel Morsing 3eb1804740 Merge pull request #3951 from influxdb/queryOpt
move aggregate functions
2015-09-02 10:23:36 -07:00
Philip O'Toole 2a4c845a7e Merge pull request #3942 from influxdb/stats_measurement_name
Correctly set Name and Tags for SHOW STATS output
2015-09-02 09:46:32 -07:00
Philip O'Toole b5d3bb6cc1 Revert "See if 25 quickchecks are OK"
This reverts commit feafe9be0c.

Circle builds are breaking.
2015-09-02 08:42:39 -07:00
Philip O'Toole feafe9be0c See if 25 quickchecks are OK 2015-09-02 08:38:35 -07:00
Jason Wilder d905643266 Merge pull request #3947 from influxdb/jw-consistency
Influx cli consistency level parsing tests
2015-09-02 09:31:41 -06:00
Jason Wilder 807e80bf0b Update changelog 2015-09-02 09:22:20 -06:00
Jason Wilder 1d4ee6c3fa Add tests for influx consistency level parsing 2015-09-02 09:22:15 -06:00
Philip O'Toole 8478936025 Set main.version Go1.5 style during packaging
[ci skip]
2015-09-02 08:15:56 -07:00
Philip O'Toole 53f8cb9714 Disable monitor store in config as well as code
[ci skip]
2015-09-02 08:09:17 -07:00
Jason Wilder 1464ee5397 Merge pull request #3901 from takayuki/unblock-relaxed-write-consistency-level
Unblock relaxed write consistency level
2015-09-02 09:04:40 -06:00
Philip O'Toole aeee50582b Add port to default store-address
[ci skip]
2015-09-02 07:47:19 -07:00
Philip O'Toole b4970d4eb4 Merge pull request #3943 from influxdb/remove_obsolete_tsdb_file
Remove obsolete TSDB monitor file
2015-09-01 23:27:43 -07:00
Philip O'Toole e15bc6df11 Remove obsolete TSDB monitor file
This functionality will be superseded by the new monitor service.
2015-09-01 23:15:57 -07:00
Philip O'Toole e5ea01d48f Unit test registered stats output 2015-09-01 21:35:20 -07:00
Philip O'Toole df864b2ec7 Set tags correctly for SHOW STATS 2015-09-01 21:31:38 -07:00
Philip O'Toole 8efb3fb7d8 Use Measurement name, not a column "name"
This results in proper Measurement output.
2015-09-01 20:08:21 -07:00
Takayuki Usui da8efa56e1 Fix writes possibly blocked with relaxed write consistency level
Immediately return once the required number of writes are completed,
otherwise requests running with relaxed consistency levels (e.g. any
or one) would be blocked unexpectedly, for instance, waiting for dead
nodes to respond.
2015-09-02 11:08:04 +09:00
Takayuki Usui 557f796566 Add an option to cmd/influx to set write consistency level
This patch introduces an option in influx allowing users to
select write consistency level, which has been implicitly
set to 'any' by default so far.
2015-09-02 11:00:06 +09:00
Philip O'Toole 14c04eb4d6 Merge pull request #3916 from influxdb/new_stats_diags
Statistics and Diagnostics service
2015-09-01 18:30:53 -07:00
Philip O'Toole 366c0115f9 Serve expvar information from HTTP package 2015-09-01 15:22:37 -07:00
Philip O'Toole 26147b2f5f Don't include empty statistical data in results 2015-09-01 15:21:40 -07:00
Philip O'Toole 9d81cdd1a4 Update CHANGELOG 2015-09-01 15:21:40 -07:00
Philip O'Toole 9df17409d3 Use monitor service with Graphite 2015-09-01 15:21:36 -07:00
Philip O'Toole f05dc20b58 Hook new monitor service to server
u
2015-09-01 15:03:52 -07:00
Philip O'Toole d87e668c78 Remove obsolete monitoring code 2015-09-01 15:03:52 -07:00
Philip O'Toole 294b685e41 Add new monitor service 2015-09-01 15:03:52 -07:00
Philip O'Toole 18d15c3f6a Add initial monitor README 2015-09-01 15:03:49 -07:00
Daniel Morsing 34744b647d unexport some functions
For good measure basically. Not needed for correctness, but it keeps
people from using these.
2015-09-01 14:58:55 -07:00
Daniel Morsing 65340a023b Move aggregate funcs into tsdb
Pure move, No functional changes.
2015-09-01 14:25:59 -07:00
Philip O'Toole b423599776 Update comment re shard group creation and sorting
[ci skip]
2015-09-01 13:30:59 -07:00
Philip O'Toole fc6ce43bb3 Merge pull request #3934 from influxdb/sort_shard_groups
Store ShardGroups sorted by time
2015-09-01 13:30:27 -07:00
Philip O'Toole 8f700c36bc Store ShardGroups sorted by time 2015-09-01 13:21:51 -07:00
Jason Wilder 712e9ff6dc Merge pull request #3929 from influxdb/jw-3928
Fix write fails for multiple points when tag starts with quote
2015-09-01 11:47:02 -06:00
Jason Wilder 898ee8c399 Fix write fails for multiple points when tag starts with quote
Fixes #3928
2015-09-01 11:20:34 -06:00
Ben Johnson b3556c634a Merge pull request #3927 from benbjohnson/wal-lock
Add WAL lock to prevent timing lock contention
2015-09-01 11:08:55 -06:00
Ben Johnson d52fe89035 add WAL lock to prevent timing lock contention
This commit adds a lock to the WAL log to prevent timing how long
it takes to obtain the Bolt write lock.
2015-09-01 11:08:39 -06:00
Ben Johnson 9067664ac7 Merge pull request #3913 from benbjohnson/owner
Convert meta shard owners to objects
2015-09-01 09:50:40 -06:00
Paul Dix a8ebac9c6d Merge pull request #3925 from influxdb/pd-add-more-wal-logging
Add more detailed logging for compactions
2015-09-01 10:18:25 -04:00
Paul Dix 040fa060df Add more detailed logging for compactions 2015-09-01 09:52:20 -04:00
Philip O'Toole d6cb01722b Ignore influx_stress binary
[ci skip]
2015-08-31 18:11:14 -07:00
Ben Johnson 767307eed6 convert meta shard owners to objects
This commit converts meta.ShardInfo.OwnerIDs from a slice of ids
to a slice of objects. This is to support adding statuses for a
shard for a given node. For example, a node may have a shard
assigned to it but it is currently copying the shard and is not
ready to serve data for it.

The old `OwnerIDs` is marked as deprecated, however, the code
still supports loading from older protobuf-encoded data.
2015-08-31 16:33:13 -06:00
Jason Wilder d01def096e Merge pull request #3906 from influxdb/jw-dq
Fix panic when querying against not-fully replicated shards
2015-08-31 15:32:07 -06:00
Daniel Morsing 841e6fc6b5 Merge pull request #3908 from influxdb/firstopt
only look at the first value for first()
2015-08-31 14:21:29 -07:00
Philip O'Toole 4a010219df Merge pull request #3910 from influxdb/clarify_forks
Add note re cloning forks
2015-08-31 14:09:15 -07:00
Philip O'Toole 9a6395740e Add note re cloning forks
Fixes issue #3896

[ci skip]
2015-08-31 14:03:00 -07:00
Daniel Morsing 8ca8293d11 only look at the first values for first()
Since we set up the aggregate queries so that iterator is ordered,
we only need to look at the first value. This cuts about 10 seconds
off a large single series query running first.
2015-08-31 13:43:28 -07:00
Jason Wilder 027b6e36e7 Fix inconsistent results from show measurements
Running show measurements in a partially replicated cluster produces inconsistent
results due to the connection pooling.  When running remote meta-data queries,
the cluster service ends ups keeping map shard request open but still checks the connection
back into the pool. This causes inconsistent results because data from the last request
interferes with the new request.

This removes the connection pool which fixes the issue.  It also has the side effect of fixing
a nodes pool connections that have gone bad when a node restarts.  For example, in a 3 node cluster
that has been responding to queries correctly, restarting 1 node will cause all the other to fail
to query that node indefinitely.  This is now fixed as well.
2015-08-31 14:31:00 -06:00