Paul Dix
615aabf2fc
Fix link to #2390 in Changelog
2015-04-24 15:57:33 -04:00
Jason Wilder
a9bdfb3b86
Log node state and id in raft traces
...
When running multiple nodes locally w/ raft tracing, it's very difficult
to determine which node is logging. This adds the nodes state(leader,follower,candiate) and
id to all the log messages so we can tarce the nodes states more easily.
2015-04-24 13:25:27 -06:00
Jason Wilder
9c6d09ebe6
Make exp/got values line up for integration tests
2015-04-24 10:40:41 -06:00
Jason Wilder
4943b90159
Merge pull request #2416 from influxdb/jw-1896
...
Fix excessive heartbeater logging of "connection refused" on cluster node stop
2015-04-24 10:38:32 -06:00
Jason Wilder
a4017fa4fd
Replace heartbeat log threshold time w/ constant
2015-04-24 10:33:34 -06:00
Jason Wilder
49b80a6d19
Track and log the number of times a heartbeat has failed
2015-04-24 09:44:44 -06:00
Jason Wilder
2e47a8de11
Log when heartbeat succeeds again
2015-04-24 09:32:15 -06:00
Jason Wilder
dd784f0f6f
Update changelog
2015-04-24 08:45:04 -06:00
Jason Wilder
174afb5eb9
Log heartbeat error once every 15s
...
Prevents logs from getting flooded with a message every second when
a broker node is down.
Fixes #1896
2015-04-24 08:43:42 -06:00
xiaost
e521ac9b73
raft: fix leaderID error when state changed
2015-04-24 22:23:45 +08:00
Philip O'Toole
d058ab9c59
README typo
2015-04-23 16:20:35 -07:00
Philip O'Toole
34d73cf67c
Move new feature to RC28
2015-04-23 16:20:17 -07:00
Philip O'Toole
a37752c22a
Merge pull request #2410 from influxdb/increase_election_timeout
...
Allow Raft timeouts to be configured
2015-04-23 16:03:16 -07:00
Philip O'Toole
86db6df16c
5-second Raft election timeout during CI testing
...
CI testing may suffer from lack of CPU resources, meaning leader
elections may continually occur. This gives leader nodes more time to
send out heartbeats.
2015-04-23 15:59:36 -07:00
Cory LaNou
e9f5eaa5cf
Merge pull request #2408 from influxdb/shard-creation-refactor
...
Fix snapshot 500 error
2015-04-23 16:43:51 -06:00
Cory LaNou
f95dc00884
update changelog
2015-04-23 16:34:00 -06:00
Cory LaNou
022cb62fdb
remove shards from server memory
2015-04-23 16:33:18 -06:00
Cory LaNou
c27953a764
put shard responsibilities in shard.go
2015-04-23 16:33:18 -06:00
Philip O'Toole
f2783353d9
Allow Raft election timeout to be configured
2015-04-23 15:05:40 -07:00
Philip O'Toole
659706e874
Clarify that we like gvm, but it is not required
2015-04-23 13:11:54 -07:00
Philip O'Toole
5a37e049b9
Merge pull request #2407 from influxdb/broker_truncation
...
Topic reports whether it has ever been truncated
2015-04-23 13:07:54 -07:00
Philip O'Toole
6a16f2d5a9
Topic reports whether it has ever been truncated
...
This function is needed by Brokers to decide if shard requests by data
nodes should be redirected to peers.
2015-04-23 12:49:11 -07:00
Jason Wilder
f3ece1a2f8
Merge pull request #2404 from influxdb/jw-int-tests
...
Mean and percentile function fixes
2015-04-23 11:25:32 -06:00
Jason Wilder
e1bb340cb7
Update changelog
...
Add #2374 #2404
2015-04-23 11:19:12 -06:00
Jason Wilder
8174f6fb05
Fix panic: interface conversion: interface is nil, not []interface {}
...
Fixes #2374
2015-04-23 11:18:19 -06:00
Jason Wilder
155adb7d24
Fix panic: runtime error: index out of range
...
Fixes #2374
2015-04-23 11:18:19 -06:00
Jason Wilder
d0cc98356b
Fix error calling MarshalJSON for type *influxdb.Result: json: unsupported value: NaN
...
If the MapMean did not have any values in the iterator, it would return
and empty meanMapOutput(). ReduceMean would in turn divider the results
by an unitialized float64 producing a NaN. NaN is not serializable to JSON
by default.
2015-04-23 11:18:19 -06:00
Jason Wilder
297ebda91f
Simplify os.RemoveAll calls in tests
2015-04-23 11:18:19 -06:00
Todd Persen
2b78e3c9e0
Update CHANGELOG.md
...
[skip ci]
2015-04-23 05:45:03 -07:00
Cory LaNou
c887dfe2a8
Merge pull request #2400 from influxdb/client-write-credentials-2391
...
Always send auth headers for client requests if present
2015-04-22 20:38:36 -06:00
Todd Persen
0bc0f8db5a
Update CHANGELOG.md
...
[skip ci]
2015-04-22 19:09:34 -07:00
Todd Persen
6b76befa98
Merge pull request #2398 from influxdb/snapshot-backup-err-loggin
...
Track more stats and report errors for shards
2015-04-22 19:08:32 -07:00
Cory LaNou
bba66f6db6
update changelog [ci skip]
2015-04-22 18:17:39 -06:00
Cory LaNou
c604a765de
Always send auth headers for client requests if present
2015-04-22 18:15:39 -06:00
Cory LaNou
b922cdcb76
shard stat created vs opened
2015-04-22 17:20:16 -06:00
Cory LaNou
9fee13ce41
format show stats properly and add more shard stats
2015-04-22 17:14:37 -06:00
Cory LaNou
e205abbcb4
sort stats for testing. check for nil stats before updating
2015-04-22 16:03:37 -06:00
Cory LaNou
e7eb3838f5
track more stats and report errors for shards
2015-04-22 15:37:59 -06:00
Todd Persen
a86897d484
Update CHANGELOG.md
2015-04-22 13:59:11 -07:00
Todd Persen
619d8ac97b
Merge pull request #2390 from neonstalwart/running-mean
...
add test for large mean aggregations
2015-04-22 13:58:06 -07:00
Cory LaNou
39da05ba6b
Merge pull request #2393 from influxdb/hostname-localhost-fix
...
Fix hostname defaults
2015-04-22 14:15:19 -06:00
Cory LaNou
efcdfabd3a
update changelog
2015-04-22 12:10:20 -06:00
Cory LaNou
7b2019fbb0
Fix hostname defaults
2015-04-22 12:00:51 -06:00
Jason Wilder
ad88051e1a
Merge pull request #2384 from influxdb/jw-int-tests
...
Make sure cluster tests actually created a cluster before running
2015-04-22 10:52:36 -06:00
ben hockey
91db81f374
calculate mean without causing overflow
2015-04-22 11:40:16 -05:00
ben hockey
aa3683c260
add test for large mean aggregations
2015-04-22 11:40:16 -05:00
Jason Wilder
dee4d52c3f
Make sure cluster tests actually created a cluster before running
2015-04-22 10:37:35 -06:00
Philip O'Toole
b2b60532f1
Merge pull request #2383 from influxdb/serve_shard
...
Add HTTP endpoint that serves a requested shard
2015-04-22 09:33:35 -07:00
Philip O'Toole
68ba7ba005
Merge pull request #2387 from influxdb/no_local_shard_stats
...
There are no stats for non-local shards
2015-04-22 09:30:49 -07:00
Philip O'Toole
e75e6a9526
Add HTTP endpoint that serves a requested shard
...
With this change a datanode can stream the requested shard to the
client. An error is returned if the shard does not exist or the the
shard is not local to that node.
1 data node can hit this endpoint to request data for a given shard if
the data no longer resides on the broker.
2015-04-22 09:29:19 -07:00