Commit Graph

7218 Commits (b5d3bb6cc1c7b3377aeb9f500aa5d648a07194f4)

Author SHA1 Message Date
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
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
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
Jason Wilder c8bf095342 Fix panic with show measurements with partially replicated shards
Some nodes may receive requests for shards that they are assigned but
do not have the shards locally yet.  Just return no results in this case
instead of panicing.
2015-08-31 14:10:43 -06:00
Philip O'Toole af175c6b65 Merge pull request #3898 from nickrobinson/patch-1
Updating imports in README example
2015-08-31 10:55:50 -07:00
Jason Wilder f72fd247b5 Fix panic when querying against non-fully replicated shards
The TSDBStore was returning a nil mapper if the shard did not exist.  The caller always
assumed the mapper would not be nil causing a panic.  Instead, have the mapper skip the mapping
phase if it's shard reference is nil.  This fixes queries against data-only nodes and against
shards that are not fully replicated in the cluster.

Fixes #3574
2015-08-31 10:03:07 -06:00
Nick Robinson 40a18d82a8 Updating imports in README example
Updating imports in the README example so that it will compile
2015-08-30 07:51:18 -04:00
Philip O'Toole 2de059c663 Merge pull request #3892 from influxdb/if_not_exists
CREATE DATABASE [IF NOT EXISTS] ...
2015-08-29 10:08:01 -07:00
Philip O'Toole 4304526fea Update CHANGELOG 2015-08-29 09:56:15 -07:00
Philip O'Toole 78170bd798 Parse multiple tokens at once (NOT EXISTS) 2015-08-29 09:56:15 -07:00
Philip O'Toole 5ae004d062 Update INFLUXQL keywords
[ci skip]
2015-08-29 09:56:15 -07:00
Philip O'Toole 0805773dd3 Circle overrides exist, remove wrong comment 2015-08-28 22:25:18 -07:00
Philip O'Toole 1a55951f36 Backend support for database IF NOT EXISTS 2015-08-28 19:04:54 -07:00