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
John Shahid
6802eda768
Rename MergeFun to MergeRegex
2014-10-22 17:58:04 -04:00
John Shahid
4fbe259722
add some docs
2014-10-22 16:46:12 -04:00
John Shahid
cace54d8c8
Make sure the query string has valid regex and add a test
2014-10-22 16:41:08 -04:00
John Shahid
d3b6c1b010
FromClause.GetString() shouldn't assume 2 series in the merge
...
Fix #1047
2014-10-22 15:22:59 -04:00
John Shahid
baabefd455
Add missing stories to 0.8.4-rc.1 and get rid of 0.9.0
2014-10-22 12:24:31 -04:00
John Shahid
89f226417a
Oops forgot merge with regex and credits for the pr in the changelog
2014-10-21 18:34:43 -04:00
John Shahid
922c90719c
Update the changelog
2014-10-21 18:26:00 -04:00
John Shahid
0a183e0e77
Merge branch 'fix-72'
2014-10-21 18:01:38 -04:00
John Shahid
44643de073
make sure we close the point iterators
2014-10-21 17:57:13 -04:00
John Shahid
911e1b9055
Use the standard heap implementation
2014-10-21 17:57:13 -04:00
John Shahid
e8be7575c8
rename a test file
2014-10-21 17:57:13 -04:00
John Shahid
7839677804
Return the merged data using the alias
...
Since we return an error if the same series has more than one alias this
fixes #270
2014-10-21 17:57:13 -04:00
John Shahid
78b99f60c6
Merge points at the shard level
2014-10-21 17:57:13 -04:00
John Shahid
a9d92301f6
More logging
2014-10-21 17:57:13 -04:00
John Shahid
465614c173
Modify merge to work with regex
2014-10-21 17:57:13 -04:00
David Norton
403881854c
Fix derivative when there is a group by time() and fill
...
Fix #334
2014-10-21 17:19:04 -04:00
John Shahid
65e4136a38
Fix some makefile targets
2014-10-21 12:07:50 -04:00
John Shahid
0b5d693baa
Don't panic on a non existing snapshot
2014-10-21 11:01:29 -04:00
John Shahid
53b1d15275
travis should just build, run unit tests and the data test suite
2014-10-21 11:01:29 -04:00
David Norton
ef50442d9d
Fix #1040 : fix panic when snapshot dir doesn't exist
2014-10-20 20:17:02 -04:00
David Norton
5e9750f7a6
Revert to older snapshots if the latest raft snapshot is corrupted
...
Fix #1040
2014-10-20 18:37:39 -04:00
Todd Persen
7df37811b5
Move admin assets into the compiled binary.
...
Fix #1032
2014-10-20 17:43:42 -04:00
John Shahid
d2a4c7be47
Merge branch 'groupby-boundaries'
2014-10-20 15:24:39 -04:00
John Shahid
8692780bf4
Some refactoring
2014-10-20 15:24:39 -04:00
Todd Persen
9f89aaeb26
Aggregating by time should respect the natural boundaries of the argument.
...
Fix #387
2014-10-20 15:24:39 -04:00
John Shahid
9ad95bafd7
Merge pull request #977 from chulkilee/contributing
...
Improve contributing.md
2014-10-20 13:53:24 -04:00