Commit Graph

4121 Commits (1bbf154f2aad16074be2276da52ce4d82990c589)

Author SHA1 Message Date
Ben Johnson 1bbf154f2a Removing replicas and subscriptions from broker. 2015-03-01 22:32:20 -07:00
Ben Johnson 85be4e1f6a Merge branch 'master' of https://github.com/influxdb/influxdb into broker-truncation 2015-03-01 09:47:39 -07:00
Ben Johnson 16dbe8ba2f Add Broker.Truncate(). 2015-03-01 07:06:25 -07:00
Cory LaNou 075b59285c Merge pull request #1795 from kylezh/cmd
trim command line before parse it
2015-02-28 20:27:10 -07:00
Kai Zhang ef262171d6 trim command line before parse it
This can avoid some errors caused by an additional space at the end of
the command line.

For example: 'use db ' will be trimed to 'use db' and parsed correctly.

Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-03-01 10:44:20 +08:00
Mark Rushakoff 6f398c1daf Add link to "How to Report Bugs Effectively" 2015-02-28 13:12:48 -08:00
Paul Dix 37fa605600 Update CONTRIBUTING.md
More details about how to file a correct bug report.
2015-02-28 11:11:41 -08:00
Paul Dix 87a6a8f15a Update CONTRIBUTING.md
Add link to the Google Group in the bug reports section.
2015-02-28 11:01:56 -08:00
Philip O'Toole 901f91dc95 Add note about requiring distro details 2015-02-28 08:58:12 -08:00
Philip O'Toole 8eefdba0d3 Correct typo in change log 2015-02-27 21:06:14 -08:00
Philip O'Toole 41688ea6af Correct markdown for URL 2015-02-27 21:03:55 -08:00
Philip O'Toole db09b20d19 Update with PR1744 2015-02-27 21:03:10 -08:00
Philip O'Toole a7c0d71d9c Merge pull request #1770 from kylezh/dev
Fix error when alter retention policy
2015-02-27 20:55:14 -08:00
Paul Dix 40479784e2 Merge pull request #1787 from influxdb/measurement_batch_in_series
Store Measurement commands in batches
2015-02-27 19:34:01 -05:00
Philip O'Toole a5749bebfb Store Measurement commands in batches
This introduces consistency into the code, and makes testing easier.
2015-02-27 16:25:50 -08:00
Todd Persen 2facd61586 Merge pull request #1786 from influxdb/remove-syslog
Remove unused syslog.go
2015-02-27 16:18:02 -08:00
Joseph Rothrock 4a5fdcc9ea Merge pull request #1785 from influxdb/1784
Fix timezone abbreviation.
2015-02-27 16:14:34 -08:00
Mark Rushakoff 666d093676 Fix urlgen to work on Ubuntu 2015-02-27 16:05:53 -08:00
Todd Persen 06bfd9c496 Remove unused syslog.go 2015-02-27 15:41:40 -08:00
Joseph Rothrock 06eac99c23 Fix timezone abbreviation.
Issue: 1784

BSD manpage for strptime sez that they don't like
most timezone abbreviations. One they do like is GMT.
2015-02-27 15:37:39 -08:00
Philip O'Toole fffbcf3fbe Merge pull request #1782 from influxdb/more_contains_unit_tests
More shard "contains" unit tests
2015-02-27 14:57:01 -08:00
Philip O'Toole ec93341f3f More shard "contains" unit tests 2015-02-27 14:53:47 -08:00
Paul Dix 65b4d1a060 Update changelog for rc6 release 2015-02-27 17:09:45 -05:00
Paul Dix 5889b12832 Merge pull request #1781 from influxdb/single_shard_data
Refactor shard group time bound checking
2015-02-27 17:07:13 -05:00
Philip O'Toole 05d630bfb8 Refactor shard group time bound checking
This allows it to be tested.
2015-02-27 14:03:13 -08:00
Joseph Rothrock 325f613a5d Merge pull request #1780 from influxdb/1768
malformed identifiers get through
2015-02-27 13:53:15 -08:00
Philip O'Toole db91f0caeb Revert "Merge pull request #1774 from kylezh/time_range"
This reverts commit 98f062743b, reversing
changes made to 0597cc34f5.
2015-02-27 13:38:55 -08:00
Joseph Rothrock bcad98c902 malformed identifiers get through
Issue: 1768

We weren't checking return codes from scanString.
Added text descriptions for BADSTRING and BADESCAPE tokens.
2015-02-27 13:33:36 -08:00
Philip O'Toole 98f062743b Merge pull request #1774 from kylezh/time_range
fix wrong time range calculation
2015-02-27 13:24:33 -08:00
dgnorton 0597cc34f5 Merge pull request #1775 from influxdb/fix-1764
fix #1764: panic index out of range
2015-02-27 13:06:11 -05:00
David Norton 0d4a8dcc2b fix #1764: panic index out of range 2015-02-27 11:53:02 -05:00
Kai Zhang dbe367054a fix wrong time range calculation
The code which was used to check whether a shard group should be
queried was wrong.

The if-condition was:

timeBetweenInclusive(group.StartTime, tmin, tmax) || timeBetweenInclusive(group.EndTime, tmin, tmax)

It excludes group if tmin > group.StartTime && tmax < group.EndTime.

This patch fixes the bug.

Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-02-27 22:32:00 +08:00
Paul Dix 3985bb0e2f Update CHANGELOG.md 2015-02-27 01:13:15 -05:00
Paul Dix 487cd2a1c1 Merge pull request #1771 from influxdb/show-series-updates
Make show series return IDs and work with limit and offset.
2015-02-27 01:09:56 -05:00
Paul Dix a26f11f489 fixes based on @dgnorton's feedback 2015-02-27 01:09:38 -05:00
Paul Dix 52f257e349 Make show series return IDs and work with limit and offset.
Fixes #1765
2015-02-27 01:09:38 -05:00
Paul Dix 48294ceb96 Merge pull request #1773 from influxdb/race-condition-when-merging-multiple-series
Fix problem with merging series that have unequal number of points in gr...
2015-02-27 01:07:16 -05:00
Paul Dix 77d0120cf6 Merge pull request #1772 from influxdb/remove-util
Remove `util.go` because it's not being used anymore.
2015-02-27 01:03:45 -05:00
Paul Dix 889f0a323f Fix problem with merging series that have unequal number of points in group by interval 2015-02-27 01:02:34 -05:00
Todd Persen 7830f411eb Remove `util.go` because it's not being used anymore. 2015-02-26 20:25:32 -08:00
Kai Zhang 9f8639ded8 Fix error when alter retention policy
+ fix error when execute ALTER RETENTION POLICY bar ON foo DURATION 1h
+ add test to verify the fix

Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-02-27 09:54:39 +08:00
Cory LaNou 7cd20b5f52 Merge pull request #1767 from influxdb/drop-series-failing-1761
Drop series failing Issue #1761
2015-02-26 18:08:00 -07:00
Cory LaNou 2a9306fde9 clarify test condition 2015-02-26 17:10:09 -07:00
Cory LaNou 635dc2e09a update changelog 2015-02-26 17:10:09 -07:00
Cory LaNou c662c628d3 add test that covers series not existing in all buckets for drop series 2015-02-26 17:10:09 -07:00
Cory LaNou 1f38c0865e enhancing test to work with drop series bug 2015-02-26 17:10:09 -07:00
Cory LaNou b4218e9740 bucket may not exist, that is ok, only err if it is something other than not found 2015-02-26 17:10:09 -07:00
Cory LaNou 0ab43cc8a5 adding better error message to return 2015-02-26 17:10:09 -07:00
Cory LaNou 234a04553d adding better error message to return 2015-02-26 17:10:09 -07:00
Cory LaNou 499a5dcb33 show series should only return for measurements with series data 2015-02-26 17:10:09 -07:00