Commit Graph

5499 Commits (f27e97e2548ee7a9f91612d7eff1d8694128d51e)

Author SHA1 Message Date
Jason Wilder 6e2a0f8310 Use a read lock for reading data node URL 2015-04-27 19:11:22 -06:00
Jason Wilder 75e638f95b Use a read lock for running continuous queries 2015-04-27 19:10:22 -06:00
Jason Wilder 1efbdd1631 Use a read lock to look up a retention policy 2015-04-27 19:04:00 -06:00
Jason Wilder f624537cf8 Use a read lock to authenticate users 2015-04-27 19:02:01 -06:00
Jason Wilder 105637fc88 Use a read lock for admin user lookup 2015-04-27 18:59:28 -06:00
Jason Wilder 03ed70e6a3 Use read lock for user lookup 2015-04-27 18:48:20 -06:00
Todd Persen f50b2a0a98 Update CHANGELOG.md 2015-04-27 14:54:18 -07:00
Todd Persen 8597bdf4c7 Update CHANGELOG.md for RC28 2015-04-27 14:53:46 -07:00
Todd Persen 07774b2414 Merge pull request #2441 from influxdb/add_missing_unlock
RUnlock server after dropping series
2015-04-27 14:27:21 -07:00
Philip O'Toole 26348534b9 Update CHANGELOG 2015-04-27 14:22:29 -07:00
Philip O'Toole e78c481c01 Show features first in CHANGELOG 2015-04-27 14:21:46 -07:00
Philip O'Toole 76c29053cf Move drop series lock control into local function
This change means that lock control can use the defer call, which means
there is no chance the RLock will be left locked at function exit
Previously this code was more complex as it managed locks manually,
since the RLock must be released to allow the "drop series" broadcast
message go through.
2015-04-27 14:19:24 -07:00
Philip O'Toole a1a2f60241 Merge pull request #2440 from influxdb/more_truncation_logging
Enhance topic truncation logging
2015-04-27 12:56:34 -07:00
Philip O'Toole 72fefcd2fa Enhance topic truncation logging 2015-04-27 12:36:02 -07:00
Philip O'Toole 86b9ec5b28 Merge pull request #2431 from influxdb/diags_path_issues
Always append shard path in diags
2015-04-26 11:06:44 -07:00
Philip O'Toole 257aa4d6bd Always append shard path in diags
This code is clearer -- simply append an empty path if the shard is not
local.

Fixes issue #2430
2015-04-26 11:01:12 -07:00
Philip O'Toole 8b12472130 Merge pull request #2432 from influxdb/truncation_rix
RLock broker during topic truncation
2015-04-26 11:00:24 -07:00
Philip O'Toole 885f25c07f Merge pull request #2429 from influxdb/null_fields
Ensure no field value is null
2015-04-26 10:59:49 -07:00
Philip O'Toole 0994c8d9d5 Ensure no field value is null
Fix issue #2420.
2015-04-26 10:59:18 -07:00
Philip O'Toole 73a5747fa6 Add credit for PR 2415
[ci skip]
2015-04-25 10:24:17 -07:00
Philip O'Toole b2de822c2d Merge pull request #2426 from influxdb/opentsdb_race
Lock openTSDB and Graphite listener address
2015-04-25 10:03:29 -07:00
Philip O'Toole 2d5b860fc7 Add race test 2015-04-25 10:00:17 -07:00
Philip O'Toole ec0acb1b77 Fix race condition when accesing Graphite listener 2015-04-25 10:00:17 -07:00
Philip O'Toole b544241108 Lock openTSDB listener address 2015-04-25 10:00:17 -07:00
Philip O'Toole 812a73cd11 RLock broker during topic truncation 2015-04-24 21:55:16 -07:00
Philip O'Toole a8d9c7fbc8 Credit for PR2415 2015-04-24 18:16:33 -07:00
Philip O'Toole 6f326bcd9a Add details on http-access 2015-04-24 16:20:59 -07:00
Philip O'Toole 43827a4ca3 Merge pull request #2423 from influxdb/reenable_elect_test
Re-enable leader election test
2015-04-24 15:53:00 -07:00
Philip O'Toole d17eeff5ad Update CHANGELOG for PR 2415 2015-04-24 15:51:45 -07:00
Philip O'Toole 5894f6580c Merge pull request #2415 from xiaost/fix-leaderid-error
raft: fix leaderID error when state changed
2015-04-24 15:50:33 -07:00
Philip O'Toole b6fd3605f9 Re-enable leader election test
This may have been fixed by PR #2418.
2015-04-24 15:24:00 -07:00
Jason Wilder 2d2c806f36 Merge pull request #2418 from influxdb/jw-int-tests
Fix raft node getting stuck in candidate state
2015-04-24 16:18:10 -06:00
Jason Wilder cc9d2335d8 Re-enable partial replication test 2015-04-24 16:00:59 -06:00
Jason Wilder 7ac62f4796 Update changelog
Add #2418
2015-04-24 16:00:59 -06:00
Jason Wilder da5935e885 Fix node getting stuck in candidate state
During an election, a node can sometimes get stuck in candidate state
causing it to never read from the new leader.  This would prevent
it from incrementing it's index and staying consisistent w/ the
leader.
2015-04-24 16:00:54 -06:00
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