Commit Graph

7762 Commits (68c1d05ad440bb50042218fbb1b2433f1fa45624)

Author SHA1 Message Date
Michael Desa 68c1d05ad4 First pass at adding timestamps 2015-10-02 16:05:06 -07:00
Philip O'Toole d4fb66290a Remove DROP SERVER from CHANGELOG 2015-10-02 09:21:27 -07:00
Philip O'Toole d8598ce833 Merge pull request #4304 from influxdb/check_rv
Revert "Merge pull request #4233 from influxdb/drop-server"
2015-10-02 09:05:28 -07:00
Philip O'Toole d74e0690c7 Revert "Merge pull request #4233 from influxdb/drop-server"
This reverts commit 0bdb36f6dc, reversing
changes made to 3085fbc138.
2015-10-02 08:39:57 -07:00
Cory LaNou 98a0d341cd add drop server to changelog 2015-10-02 09:32:31 -05:00
Cory LaNou 0bdb36f6dc Merge pull request #4233 from influxdb/drop-server
WIP - Drop server
2015-10-02 09:31:09 -05:00
Cory LaNou e294c89308 use concurrenty safe Peers method 2015-10-02 09:17:15 -05:00
Cory LaNou 42896fee0f use close instead of shutdown 2015-10-02 09:10:01 -05:00
Philip O'Toole 3085fbc138 Merge pull request #4296 from influxdb/issue_4272
Reject line protocol that terminates with '-'
2015-10-01 20:56:05 -07:00
Philip O'Toole 59bbc5c8e3 Reject line protocol that terminates with '-'
Fixes issue #4272.
2015-10-01 20:55:49 -07:00
Cory LaNou efc8a57a75 checkRaftState -> enableLocalRaftIfNecessary 2015-10-01 17:13:47 -05:00
Cory LaNou 785ff6a235 use safe call that is already locked 2015-10-01 17:04:08 -05:00
Cory LaNou 2379a0a406 check for nil raftState 2015-10-01 16:54:46 -05:00
Cory LaNou 114b20ec5c need some locking, remove redundant check 2015-10-01 16:52:14 -05:00
Cory LaNou def2551d65 to much code depends on setting this to nil yet 2015-10-01 15:57:55 -05:00
Philip O'Toole 08d299f6c7 Update CHANGELOG for PR 4293
[ci skip]
2015-10-01 13:49:04 -07:00
Cory LaNou eaae1cbe24 remove comment 2015-10-01 15:48:17 -05:00
Philip O'Toole c8e95173a6 Merge pull request #4293 from christopherjdickson/fix-service-restart
add '-s /bin/sh' to 'su -c' on pid file touch in init script
2015-10-01 13:47:47 -07:00
Cory LaNou 98de77eeaf attempt to heal a cluster, shut down raft after removing a node 2015-10-01 15:39:16 -05:00
Cory LaNou c108c6eb96 fix remove peer, add leader to show servers 2015-10-01 15:39:16 -05:00
Cory LaNou 3071eec2ca only the leader can remove a peer 2015-10-01 15:39:16 -05:00
Cory LaNou df08a070f6 do not remove raft files unless it is the node being removed 2015-10-01 15:39:16 -05:00
Cory LaNou 96d63cf9f0 simpler remove peer 2015-10-01 15:39:16 -05:00
Cory LaNou 6f74a64bf6 clarify comment and refactor 2015-10-01 15:39:16 -05:00
Cory LaNou b9a7f51f12 must always test... 2015-10-01 15:39:16 -05:00
Cory LaNou 50ac00f378 log errors for removePeer 2015-10-01 15:39:16 -05:00
Cory LaNou 0191319370 ErrNodeDataLossImminent -> ErrShardNotReplicated 2015-10-01 15:39:15 -05:00
Cory LaNou 76c45fdf55 not dealing with pointers, need to update original 2015-10-01 15:39:15 -05:00
Cory LaNou d036f63771 additional parser test for DROP SERVER 2015-10-01 15:39:15 -05:00
Cory LaNou f50813460e protobuf update.. :-( 2015-10-01 15:39:15 -05:00
Cory LaNou 99da67007d no more shutdown 2015-10-01 15:39:15 -05:00
Cory LaNou 73372ed907 [Ee]xecuteShutdown -> [Mm]onitorShutdown 2015-10-01 15:39:15 -05:00
Cory LaNou 34bfb6b330 be sure to exit the go routine if we terminate normally 2015-10-01 15:39:15 -05:00
Cory LaNou 7a3e1f6b27 removing peer wip 2015-10-01 15:39:15 -05:00
Cory LaNou dc317ce85f optional end requirments should also allow SEMICOLON 2015-10-01 15:39:15 -05:00
Cory LaNou 93507c0b51 add force for drop server, misc fixes, more wip 2015-10-01 15:39:15 -05:00
Cory LaNou e50eb3172a drop server command 2015-10-01 15:39:14 -05:00
Cory LaNou 205c7674f6 add drop server tests 2015-10-01 15:39:14 -05:00
Cory LaNou 3c74c13908 add drop server statement 2015-10-01 15:39:14 -05:00
Chris Dickson a60f90b082 specify shell on pidfile touch on service start
resolves "/var/run/influxdb/influxd.pid not writable, check permissions [ FAILED ]"
error on service restart  when influxdb user shell is set to /bin/false
2015-10-01 15:30:14 -05:00
Jason Wilder 54ff1990bd Merge pull request #4292 from influxdb/jw-derivative
Handle missing values in aggregate derivative queries better
2015-10-01 13:45:46 -06:00
Philip O'Toole 5e72fec32c Update sample config with HH retry-max-interval
[ci skip]
2015-10-01 12:20:35 -07:00
Philip O'Toole 0a63bb1883 Merge pull request #4284 from influxdb/hh_backoff
Exponential hinted-handoff interval on fail
2015-10-01 12:13:56 -07:00
Jason Wilder 06c143c2dd Handle missing values in aggregate derivative queries better
If an aggregate derivative query did not have a value in the first
time bucket, it would abort early and return a single row with value
of 0.  Similarly, if either the current or previous value was nil,
it would skip the row and not append any values causing gaps and
no data to show up.

Instead, this will append a nil value if either the current or previous
valis is nil.  This essentially allows nil values to carry through the
results as well as gives a more sensible value for rows where we cannot
compute a difference (instead of dropping the row as before).

Fixes #4237 #4263
2015-10-01 13:05:19 -06:00
Philip O'Toole 8a1e5a9e53 Clamp initial value of HH retry interval
This could happen due to misconfiguration, so do something sensible in
that case.
2015-10-01 12:04:33 -07:00
Philip O'Toole c7599e0409 Update CHANGELOG
[ci skip]
2015-10-01 11:56:20 -07:00
Philip O'Toole 878f776403 Exponential backoff if any hinted-handoff fails 2015-09-30 21:27:13 -07:00
Philip O'Toole 4eba2c1725 Add config support for max HH retry interval 2015-09-30 21:10:03 -07:00
Michael Desa 970094d4a3 Merge pull request #4168 from influxdb/md-stress-config
Make stress test configurable by toml file
2015-09-30 16:57:11 -07:00
Philip O'Toole 66d3ef1ce0 shard-writer-timeout defaults to 2x write-timeout
[ci skip]
2015-09-30 16:56:23 -07:00