Commit Graph

6892 Commits (3d203885f08acedac7b7e1209574f2dca543ee1c)

Author SHA1 Message Date
Jason Wilder 3d203885f0 Remove extraneous join error logging 2015-08-13 16:58:25 -06:00
Jason Wilder 22550dce54 Fix starting a cluster with self in the join urls
If you started a 3 node cluster and passed the same join URLs to
all three nodes, the first node started would not bootstrap correctly.
2015-08-13 16:20:34 -06:00
Philip O'Toole c81a0afb8f Merge pull request #3635 from influxdb/add_branch_to_version
Add build branch to version information
2015-08-13 14:41:14 -07:00
Jason Wilder 100a9d5b80 Merge pull request #3650 from influxdb/jw-raft
Shutdown raft transport and layer first
2015-08-13 15:40:52 -06:00
Jason Wilder 9b16353893 Shutdown raft transport and layer first
The raft.Shutdown() call was deadlocking if operations were still
being applied to the log sometimes.  Change the shutdown behavior to
match how consul shuts down raft:

e37b5ecb69/consul/server.go (L471-L477)
2015-08-13 15:31:31 -06:00
Philip O'Toole d653f84b83 Highlight some key feature
[ci skip]
2015-08-13 14:27:32 -07:00
Philip O'Toole ab189d5429 Enhance README with richer examples
[ci skip]
2015-08-13 14:25:41 -07:00
Philip O'Toole b555ab7e22 Reduce test timeout to fail quicker 2015-08-13 14:04:28 -07:00
Philip O'Toole b60840875f Merge pull request #3647 from influxdb/no_mappers
Add new server-level unit test
2015-08-13 13:43:41 -07:00
Philip O'Toole d1e102a5bf Update CHANGELOG 2015-08-13 13:41:10 -07:00
Philip O'Toole 717bce6899 Add build branch to version information 2015-08-13 13:40:51 -07:00
Philip O'Toole f74248c4e4 Add new server-level unit test
Added this as part of working on issue #3603.
2015-08-13 13:08:40 -07:00
Jason Wilder 1181427972 Merge pull request #3641 from influxdb/jw-fixes
Logging enhancements and single-node rename
2015-08-13 10:07:58 -06:00
Jason Wilder a7cb0df4af Fix typos/spacing 2015-08-13 10:02:05 -06:00
Jason Wilder 5796aec703 Fix race when closing local raft state 2015-08-13 10:02:05 -06:00
Jason Wilder bb513079e9 Update changelog` 2015-08-13 10:02:05 -06:00
Jason Wilder 668181d275 Make log statements more consistent
* Capitalize first letter of message
* Log all services staring consistently
* Remove some extraneous log statements in meta.Store
* Log data dirs for meta, data and hinted handoff
2015-08-13 10:01:42 -06:00
Jason Wilder 29c6094a54 Log raft leader state changes
Make is much easier to determine when a cluster is in a healthly state
as well as who the current leader is.
2015-08-13 10:01:42 -06:00
Jason Wilder 5280b20e66 Make host rename on single node more seemless
Renaming a host that is a raft peer member is pretty difficult but
we can special case single-node renames since we know all the member
in the cluster and we can update the peer store directly on all nodes
(just one).

Fixes #3632
2015-08-13 10:01:42 -06:00
Jason Wilder 4c7f07b81c Merge pull request #3639 from influxdb/jw-fixes
Cap auto-created retention policy replica count at 3
2015-08-12 14:28:07 -06:00
Jason Wilder e6ff93d23e Update changelog 2015-08-12 14:18:06 -06:00
Jason Wilder ffcca1ceff Cap auto-created retention policy replica count at 3
Defaulting to the number of nodes in the cluster is doesn't make
sense with larger clusters. (e.g. 10 nodes = RF 10)
2015-08-12 14:18:02 -06:00
Philip O'Toole 9b964f93cc Merge pull request #3640 from influxdb/graphite_hang
Shutdown Graphite listener first during Close()
2015-08-12 12:58:12 -07:00
Philip O'Toole 28cb14e6a6 Update CHANGELOG 2015-08-12 12:50:13 -07:00
Philip O'Toole 089d947bf3 Shutdown Graphite listener first during Close()
Without this the WaitGroup was not fully decremented as the Accept()
call on the listener never exited, and Wait() then never exited.
2015-08-12 12:49:58 -07:00
Jason Wilder 2e15449a36 Merge pull request #3638 from influxdb/jw-fixes
Cluster config fixes and removal of meta.peers config field
2015-08-12 13:43:38 -06:00
Jason Wilder e8f8ab9352 Update changelog 2015-08-12 13:21:39 -06:00
Jason Wilder 17583f7c5d Remove [meta].peers config option
Adding a new peer must happen via the -join flag.
2015-08-12 13:01:27 -06:00
Jason Wilder 5dfd25269f Fix panic: reflect: call of reflect.Value.NumField on string Value
The env var overrides panic if we if peers was set in the config.
The type of that value is a []string and NumFields is not a valid
for that type.  We don't currently support this slice fields via
the env variable settings.  This particular one can be set with the
-join flag already so we just skip these fields for now.
2015-08-12 11:27:04 -06:00
Jason Wilder f07b8d4016 Make sure port is optional when passing hostanme flag 2015-08-12 10:41:43 -06:00
Philip O'Toole b032c1c6ad Merge pull request #3629 from influxdb/default_graphite_config
Set sensible Graphite batching defaults
2015-08-11 19:08:14 -07:00
Philip O'Toole 68058aee98 Update CHANGELOG 2015-08-11 18:34:49 -07:00
Philip O'Toole 966dee7559 Set sensible Graphite batching defaults 2015-08-11 18:34:36 -07:00
Ben Johnson 2547049c6f Merge pull request #3626 from benbjohnson/fix-3571
Fix duplicate points in b1/cursor
2015-08-11 16:15:35 -06:00
Ben Johnson 10c1ae782a fix duplicate points in b1/cursor
This commit fixes the b1 cursor so that reads from either the cache
or bolt buffer will check against the previously read key to ensure
that two of the same keys are not returned.

Fixes #3571.
2015-08-11 13:43:44 -06:00
Philip O'Toole 3666ab7766 Merge pull request #3625 from influxdb/dont_support_mixing
InfluxDB does not support mixing aggregate and raw queries
2015-08-11 12:37:00 -07:00
Philip O'Toole 13972eeeaa Update CHANGELOG 2015-08-11 12:25:10 -07:00
Philip O'Toole d0993c5e3f Unit-test detection of agggregate and raw queries 2015-08-11 12:25:06 -07:00
Sean Beckett 56e478e05c Merge pull request #3590 from influxdb/beckettsean-patch-1
updating bug report example to line protocol
2015-08-11 12:00:03 -07:00
Philip O'Toole 4770451837 Return error if queries mix aggregate and raw
Fixes issue #3198
2015-08-11 11:59:04 -07:00
Philip O'Toole be792b926a Re-enable regex test
Test now passes after recent changes.
2015-08-10 17:17:17 -07:00
Philip O'Toole 5b39b96b9d Re-enable RP test
Test passes after latest changes.
2015-08-10 17:15:46 -07:00
Philip O'Toole 11c45ad387 Merge pull request #3618 from influxdb/alignment_3213
Align batcher stats for i386
2015-08-10 16:50:04 -07:00
Philip O'Toole 55c491964b Update CHANGELOG 2015-08-10 16:39:29 -07:00
Philip O'Toole 480998974d Align batcher stats for i386
Fixes issue #3213.
2015-08-10 16:37:16 -07:00
Philip O'Toole f5c8280525 Fix multi UDP tests 2015-08-10 16:23:04 -07:00
Philip O'Toole 8dbcff833b Revert "Revert "Merge pull request #3599 from tpitale/multiple-udp-servers""
This reverts commit 5f83f038e1.
2015-08-10 16:21:27 -07:00
Philip O'Toole 5f83f038e1 Revert "Merge pull request #3599 from tpitale/multiple-udp-servers"
This reverts commit 7f35d65412, reversing
changes made to f828781544.
2015-08-10 14:44:14 -07:00
Philip O'Toole 2195f591cb Update CHANGELOG for PR 3599
[ci skip]
2015-08-10 14:24:52 -07:00
Philip O'Toole 7f35d65412 Merge pull request #3599 from tpitale/multiple-udp-servers
Change single udp config to support multiple UDP listeners
2015-08-10 14:22:27 -07:00