Philip O'Toole
7e0c4d3cf9
Merge pull request #4330 from influxdb/go1.5.1
...
Move to Go 1.5.1
2015-10-05 12:45:33 -07:00
Philip O'Toole
7b71e8989f
Move to Go 1.5.1
2015-10-05 12:35:13 -07:00
Michael Desa
02349a63d5
Change precison on example
2015-10-05 12:29:58 -07:00
Michael Desa
70c7d1c4d8
Change file names to be more semantic
2015-10-05 12:29:11 -07:00
Michael Desa
2ca11072e8
Change `jitter` to false in examples
2015-10-05 12:19:59 -07:00
Michael Desa
52b7e557c1
Add support for timestamp jitter
2015-10-05 12:09:08 -07:00
Jason Wilder
e9285f360e
Avoid duplicating values slice when encoding
2015-10-05 12:52:19 -06:00
Jason Wilder
1448db0fae
Make DecodeBlock panic if block size is too small
...
Should never get a block size 9 bytes since Encode always returns the min
timestampe and a 1 byte header. If we get this, the engine is confused.
2015-10-05 12:43:08 -06:00
Jason Wilder
6504df6ff3
Fix comment typos
2015-10-05 12:32:29 -06:00
Philip O'Toole
721e3fd5e1
Notes for developers on adding diags
...
[ci skip]
2015-10-04 15:58:39 -07:00
Philip O'Toole
3540619f6c
More stats development notes
...
[ci skip]
2015-10-04 15:56:53 -07:00
Philip O'Toole
70c59431ec
Notes for developers on adding stats
...
[ci skip]
2015-10-04 15:55:58 -07:00
Paul Dix
851a53fd70
Merge pull request #4320 from parisholley/newengineEmpty
...
support events with missing tag data
2015-10-04 15:58:30 -04:00
Paris Holley
4d1ce61c9f
do not include empty tags in hash
2015-10-04 11:40:14 -07:00
Philip O'Toole
129d042ba2
Merge pull request #4310 from influxdb/drop_node_non_raft
...
Support dropping non-Raft nodes
2015-10-04 00:26:12 -07:00
Philip O'Toole
2ac0357406
Support dropping non-Raft nodes
2015-10-04 00:19:52 -07:00
Philip O'Toole
dbba6356df
Whitespace clean-up
...
[ci skip]
2015-10-02 23:30:00 -07:00
Michael Desa
68c1d05ad4
First pass at adding timestamps
2015-10-02 16:05:06 -07:00
Paul Dix
6f299aa9b2
Add db crash recovery
2015-10-02 17:17:15 -04:00
Jason Wilder
33ac598fe0
Propogate all encoding errors to engine
...
Avoid panicing in lower level code and allow the engine to decide what
it should do.
2015-10-02 10:46:58 -06: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
Jason Wilder
c2e8922533
Move compression encoding constants to encoders
...
Will make it less error-prone to add new encodings int the future
since each encoder has it's set of constants. There are some placeholder
contants for uncompressed encodings which are not in all encoder currently.
2015-10-02 10:03:20 -06: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
Jason Wilder
1a174de9e5
Fix go vet errors
2015-10-02 09:39:08 -06:00
Jason Wilder
5800bdec53
Disable copier test
...
Not implemented for tsm1 engine
2015-10-02 09:38:39 -06: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