Commit Graph

2582 Commits (edd22ce3b8a3cb1d565b905dbb233c44cf7da4b5)

Author SHA1 Message Date
John Shahid edd22ce3b8 Add some docs 2014-10-31 15:17:45 -04:00
John Shahid 3a857296f4 Support joining multiple series using regex or list 2014-10-31 14:49:48 -04:00
John Shahid c0ad5d5104 Rename some constants
(from_clause.go,query.yacc,query_types.h): FROM_INNER_JOIN -> FROM_JOIN
2014-10-31 14:01:17 -04:00
David Norton 4b59ddd113 Don't try to take 2 snapshots at a time
Fix #943. Close #1081
2014-10-31 14:00:56 -04:00
John Shahid de95dd64e5 Update the changelog for #1085 2014-10-31 13:59:55 -04:00
John Shahid bdcaef1ded Set the node's connection string when creating a new raft server 2014-10-31 13:54:20 -04:00
John Shahid f9b3a27345 Make the raft logging configurable 2014-10-30 16:03:13 -04:00
John Shahid 60c98e519e Remove some nonsense 2014-10-30 14:16:46 -04:00
John Shahid 3fa82ad29e Use FINE instead of TRACE when fine logging
It turns out TRACE is a higher logging level than DEBUG which doesn't
make much sense and is confusing. We can use FINE to achieve the same
thing and it's descriptive and less confusing
2014-10-30 14:16:46 -04:00
David Norton a428042899 Fix the timestamps set by the collectd plugin
Timestamps should be in microseconds instead of milliseconds.

Fix #1075. Close #1076
2014-10-29 18:30:17 -04:00
John Shahid 1b50c7d310 Revert "Use rocksdb in the data test suite" (info below)
This reverts commit 49c49d818c.

In order to use rocksdb we need g++ >= 4.7 (which has support for
C++0x11). It's too expensive to build g++ every time. Upgrading the
ubuntu distro used by travis seems to be coming soon, I'll shelf this
for now until travis-ci/travis-ci#2046 is resolved.
2014-10-29 16:52:00 -04:00
David Norton 9786d31db3 Add func to get str desc of Processor chain
Close #1068
2014-10-29 16:39:04 -04:00
David Norton 309934dec5 Fill even when no points exists in the given time range
Fix #996. Close #1067
2014-10-29 16:37:17 -04:00
John Shahid 899f2ba802 Add some trace logging 2014-10-29 16:31:32 -04:00
John Shahid caba1b2d7a add trace to the available logging levels 2014-10-29 16:31:32 -04: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
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
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
Tom Lanyon 78e7851427 Fix collectd typo in CHANGELOG 2014-10-24 15:30:43 +10:30
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
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