Commit Graph

2970 Commits (7443e1323a5d172f832011359b01625a52d939b7)

Author SHA1 Message Date
Ben Johnson 09d09a9b8f Add cluster admin deletion and listing. 2014-10-28 19:34:12 -06:00
Ben Johnson 3ec34340a0 Add cluster admin deletion. 2014-10-28 18:43:03 -06:00
Ben Johnson fd6f17f079 Add cluster admin creation. 2014-10-28 17:54:49 -06:00
Ben Johnson ec0835c256 Refactor user commands. 2014-10-28 20:30:21 -06:00
John Shahid 49c49d818c Use rocksdb in the data test suite 2014-10-28 16:19:45 -04:00
John Shahid 07ec9a82bb Remove unused makefile vars 2014-10-28 16:19:45 -04:00
Ben Johnson 3a0e1b817c Add database listing. 2014-10-27 18:16:03 -06:00
Ben Johnson 2722e89299 Add user listing. 2014-10-27 17:31:45 -06:00
John Shahid 9485e99796 preparing for a release 2014-10-27 18:10:41 -04:00
John Shahid 8900581e96 Use go tools to discover the packages 2014-10-27 18:08:45 -04:00
John Shahid b70d54e500 fix a compilation error 2014-10-27 18:00:02 -04:00
John Shahid 26821c65a8 Get rid of the inspect raft tool since it uses internal api and doesn't compile 2014-10-27 17:59:42 -04:00
John Shahid 9c31291ca0 Move the influxdb test to an examples directory
These tests weren't designed to be run automatically via the ci. They
were a proof of concept and to demonstrate the api in action
2014-10-27 17:57:22 -04:00
Kimo R b142ebe091 gollectd's TypeDB method has been renamed
Close #1060
2014-10-27 17:40:38 -04:00
Todd Persen 46ded4f5c2 Fix continuous query functionality in the api
The endpoints that were used previously are now deprecated and
removed. This commit uses the query language instead of the endpoint to
provide the same set of features.

fix #1058.
2014-10-27 17:25:17 -04:00
David Norton 2808814863 Return an Inf. or NaN instead of panicing when a dividing by zero
Fix #1022. Close #1050
2014-10-27 17:08:53 -04:00
Philip O'Toole ffd9a4bc7d Allow graphite and collectd bind address to be set
Fix #1055. Close #1056
2014-10-27 17:05:14 -04:00
David Norton e27d3bbb21 Fix the timestamps of the points written by the collectd plugin
Try to use high resolution timestamp but if it's 0, fall back to
unix timestamp.

Collectd timestamps are uint64 and influxdb uses int64.  Change
to use type conversion instead of converting to string and then
parsing the string back to int64.  Also, test if the collectd
timestamp is too large for influxdb.  If it is, wrap around and
log an error message the first time but don't fill the log with
messages for every entry thereafter.

Move packet parsing code into its own function so it can be unit
tested.

Add unit tests to for packets using high resolution and unix
timestamps.

Fix #1051. Close #1054
2014-10-27 17:05:14 -04:00
Todd Persen 6eb6e6a993 Return nil when we're supposed to stop processing points.
Fix #821
2014-10-27 17:02:58 -04:00
Ben Johnson f683eabb7a Add change password. 2014-10-25 13:30:41 -06:00
Ben Johnson e47a19ada6 Add user deletion. 2014-10-25 11:54:23 -06:00
Ben Johnson f3ab736d83 Add user creation failure testing. 2014-10-25 09:17:08 -06:00
Ben Johnson 0b1dc6f6e3 Add CreateUser flow. 2014-10-24 22:38:01 -06:00
Ben Johnson 4b276bada3 Refactor messaging error handling. 2014-10-24 17:45:02 -06:00
John Shahid 225e9ad0f9 Add some docs to the Makefile 2014-10-24 18:37:11 -04:00
John Shahid 7fbb879b86 don't try to create another source package 2014-10-24 18:10:21 -04:00
John Shahid 7e543e1765 fix the rpm packaging for 686 2014-10-24 17:54:01 -04:00
John Shahid 6b42f1cbe1 update the changelog 2014-10-24 17:30:12 -04:00
John Shahid 1927a800f2 Clean up the makefile 2014-10-24 17:30:12 -04:00
John Shahid 97cd03c5ab Merge pull request #985 from influxdb/fix-985
client.WriteSeries returns: Server returned (400):  IO error: /opt/influxdb/shared/data/db/shard_db_v2/00190/MANIFEST-000006: No such file or directory
2014-10-24 17:17:19 -04:00
John Shahid c265f1f588 Delete shards only after making sure no has a reference to it.
* shard_datastore.go(Deleteshard): Check the reference count of the
  shard and mark it for deletion if there are still more references out
  there. Otherwise, delete the shard immediately. Also refactor the
  deletion code in deleteShard(), see below.
* shard_datastore.go(ReturnShard): Check to see if the shard is marked
  for deletion.
* shard_datastore.go(deleteShard): Refactor the code that used to be in
  Deleteshard in its own method. Use `closeShard` instead of doing the
  cleanup ourselves.
2014-10-24 16:36:45 -04:00
John Shahid 3f551b212a Merge pull request #1021 from influxdb/fix-1021
critical errors don't hit stderr
2014-10-24 15:47:45 -04:00
John Shahid 02e37c8932 redirect output to a configurable file 2014-10-24 15:03:33 -04:00
John Shahid 8adee17689 get the latest dependencies when we run clean 2014-10-24 10:45:51 -04:00
John Shahid 94e5fdc2d2 update the changelog 2014-10-24 10:45:51 -04:00
John Shahid 922bb64fb4 Merge pull request #1052 from tomlanyon/patch-1
Fix collectd typo in CHANGELOG
2014-10-24 10:21:44 -04:00
Ben Johnson a3c7549ee9 Implement CreateDatabase command. 2014-10-23 23:38:03 -06:00
Tom Lanyon 78e7851427 Fix collectd typo in CHANGELOG 2014-10-24 15:30:43 +10:30
Ben Johnson fdee900161 Remove topic name from messaging. 2014-10-23 22:22:52 -06:00
Ben Johnson 9c1e9d93bc Add broker client publishing. 2014-10-23 18:54:12 -06:00
Todd Persen 638db64681 Merge pull request #778 from influxdb/issue-778
misleading error trying to select from non-existent series
2014-10-23 12:37:19 -04:00
Todd Persen 69b251582d Merge pull request #1049 from influxdb/fix-988
Fix #988: top/bottom error messages
2014-10-23 12:34:53 -04:00
John Shahid 06f07984a0 Merge pull request #1048 from influxdb/fix-1048
Remove the admin assets from the package
2014-10-23 12:31:52 -04:00
John Shahid 5f3b784367 Merge pull request #1047 from influxdb/fix-1047
Allow merge() to work with one series and to take a list of time series
2014-10-23 12:27:54 -04:00
John Shahid b1646cb68d Make the error message clear when a series is missing
Fix #778
2014-10-23 12:23:42 -04:00
David Norton 8367a295af Fix #988: top/bottom error messages 2014-10-23 08:53:31 -04:00
Ben Johnson dc8a73b857 More refactoring. 2014-10-22 22:21:48 -06:00
John Shahid 1f46afb7c0 Don't include the admin assets in the distributed packages 2014-10-22 19:06:57 -04:00
John Shahid b00b853c28 add a test to make sure merge cannot be used with multiple regexes 2014-10-22 18:16:26 -04:00
John Shahid 3300b3434f Support merge with a list of series names 2014-10-22 18:05:25 -04:00