Commit Graph

5086 Commits (adc6968e20f5b1025968085cb01555d062e89d98)

Author SHA1 Message Date
David Norton adc6968e20 update CHANGELOG.md 2015-04-15 13:37:53 -04:00
David Norton 1e7b132f96 fix #2268: make ugly code pretty 2015-04-15 13:25:49 -04:00
David Norton 3739433f0c fix #2268: fix expression parsing bug
Parsing:

WHERE time > now() - 2d AND time < now() + 10d

generated an expression tree that evaluated as:

... AND (time < now()) + 10d

instead of:

... AND time < (now() + 10d)
2015-04-15 12:37:19 -04:00
dgnorton f5ff6e2d57 Merge pull request #2289 from influxdb/export_nowValuer
make nowValuer public / exported
2015-04-15 12:35:49 -04:00
David Norton 78b1070775 make nowValuer public / exported 2015-04-15 11:26:36 -04:00
Philip O'Toole dc5a1afef3 Merge pull request #2287 from influxdb/default_rp_race
RLock server for SHOW RETENTION POLICIES
2015-04-14 17:18:48 -07:00
Philip O'Toole 37c42c9dd2 RLock server for SHOW RETENTION POLICIES 2015-04-14 17:13:35 -07:00
Philip O'Toole ba90815143 Merge pull request #2276 from influxdb/broker_truncation
Broker truncation
2015-04-14 17:01:43 -07:00
Philip O'Toole dab100a3b1 Update sample config with topic truncation 2015-04-14 16:35:44 -07:00
Philip O'Toole 2002e64f20 Code review changes 2015-04-14 16:35:41 -07:00
Philip O'Toole f591150699 Update CHANGELOG 2015-04-14 15:56:43 -07:00
Philip O'Toole e9ce592e97 Create tombstone when topic is truncated
If a data node requests a topic index that is earier than is present for
a topic, tombstones allow the broker to know that the data node should
be redirected to another node that has the topic's data already
replicated. If no tombstone exists, then the broker can simply restart
replaying the topic data it has.
2015-04-14 15:56:39 -07:00
Philip O'Toole f6768e500f Don't delete unreplicated segments
A segment must now have been replicated by at least 1 node before it can
be deleted.
2015-04-14 15:15:27 -07:00
Philip O'Toole c9ea5f13de Correct out-of-date comment 2015-04-14 15:15:26 -07:00
Philip O'Toole b0ee5d0a78 Add broker truncation
Unit test same.
2015-04-14 15:15:26 -07:00
Philip O'Toole 9dbef70ff8 Fix typo in comments 2015-04-14 15:15:26 -07:00
Philip O'Toole 8470ee27b6 Make MaxTopicSize and MaxSegmentSize configurable 2015-04-14 15:15:26 -07:00
Ben Johnson 03d5ffc0bb Merge pull request #2283 from influxdb/join-fix
Fix cluster-wide restart issue.
2015-04-14 14:44:39 -06:00
Ben Johnson 47be5feb24 CHANGELOG 2015-04-14 14:44:18 -06:00
Ben Johnson c5bdb5af86 Fix cluster-wide restart issue. 2015-04-14 13:43:25 -06:00
Philip O'Toole 19a8bd303a Update CHANGELOG for PR 2282 2015-04-14 12:12:38 -07:00
Philip O'Toole 53c0313610 Merge pull request #2282 from tcolgate/master
OpenTSDB Input - use "value" as the field name
2015-04-14 12:11:00 -07:00
Tristan Colgate-McFarlane 4b3345c10b OpenTSDB Input - use "value" as the field name
Closes #2280
2015-04-14 20:01:31 +01:00
Jason Wilder 1da5bc3746 Merge pull request #2275 from influxdb/sample-config
Remove snapshot port/bind-address from sample config
2015-04-13 18:07:48 -06:00
Jason Wilder 32bc13de7f Remove snapshot port/bind-address from sample config
No longer used
2015-04-13 17:19:21 -06:00
Todd Persen 1dcac7a3c8 Update CHANGELOG.md 2015-04-13 15:57:21 -07:00
Todd Persen b5747868c7 Merge branch 'snapshot' 2015-04-13 15:55:46 -07:00
Todd Persen eed570ea1b Fix merge conflict in CHANGELOG.md 2015-04-13 15:55:38 -07:00
Todd Persen 6731ba4635 Merge pull request #2265 from influxdb/cli-auth-fix-2239
Fix auth for CLI
2015-04-13 15:36:36 -07:00
Cory LaNou 96a30389f8 pr review changes 2015-04-13 16:27:43 -06:00
Jason Wilder 0158cba073 Update changelog 2015-04-13 16:27:29 -06:00
Jason Wilder b4d5d03a47 Ensure API can listen on separate interface/port
The HTTP bind address/port config was not actually being used.
2015-04-13 16:27:29 -06:00
Jason Wilder d78033bb49 Remove snapshot bind-address, port from config
Now listens on the cluster port.  Snapshots can still be disabled
though.
2015-04-13 16:27:29 -06:00
Jason Wilder 2f394a5cff Move snapshot server to cluster handler
This removes the separate port listener and adds it as a route
on the cluster port.
2015-04-13 16:27:23 -06:00
Cory LaNou 33f976a340 lot of refactoring to create integration tests for cli 2015-04-13 15:56:49 -06:00
Cory LaNou fa103d9400 clean up error logic for Query endpoint 2015-04-13 15:56:49 -06:00
Cory LaNou a7ae9a529a need to return an error if status code is not 200 2015-04-13 15:56:49 -06:00
Cory LaNou 3ab660fe28 fix error message from having invalid format \n 2015-04-13 15:56:49 -06:00
Cory LaNou 0ecffa1075 update changelog 2015-04-13 15:56:49 -06:00
Cory LaNou 4319ac051b use basic auth instead of the uri 2015-04-13 15:56:29 -06:00
Cory LaNou 1ae5c09f61 let the client library handle setting auth 2015-04-13 15:56:29 -06:00
Cory LaNou 6240cc38ba refactor parse config on startup 2015-04-13 15:56:29 -06:00
Jason Wilder bdcb949916 Rename serveMetadata to serveData 2015-04-13 15:38:42 -06:00
Jason Wilder 0bf03347cb Rename serveData to serveAPI 2015-04-13 15:38:42 -06:00
Jason Wilder e47ee66b07 Make top-level handler less brittle
Move the data node specific routes under a common /data prefix so
add new handler does require updates to the top level handler as well.
2015-04-13 15:38:42 -06:00
Philip O'Toole db15e22142 Merge pull request #2270 from influxdb/parellel_circle
Parallel test and race-detection :on CircleCI
2015-04-13 13:27:17 -07:00
Philip O'Toole 88d29b3aa1 Parallel test and race-detection :on CircleCI 2015-04-13 13:21:08 -07:00
Ben Johnson 04baf9b312 Merge pull request #2257 from influxdb/raft
Snapshotting pseudo state & log entry cache
2015-04-13 14:06:54 -06:00
Ben Johnson e3e98d67b1 Merge branch 'master' of https://github.com/influxdb/influxdb into raft
Conflicts:
	CHANGELOG.md
2015-04-13 13:55:30 -06:00
Ben Johnson 4c4c03852c Merge branch 'master' of https://github.com/influxdb/influxdb into raft 2015-04-13 13:54:06 -06:00