Commit Graph

9482 Commits (2ab79e75eb7d3449eebe67d234f60208e69da8f4)

Author SHA1 Message Date
Jonathan A. Sternberg e7d39092d2 Updating the unit tests for TestServer_Query_Aggregates_IntMany_GroupBy
It had the time values for the selectors being returned equal the actual
points time. We have decided to have the time always be the interval
time and adding another feature later that can return the selected
point's time in the future.
2016-02-10 09:40:25 -07:00
Jonathan A. Sternberg 583477064c Check for `tsdb.EOF` when looking for the lowest timestamp of aux fields 2016-02-10 09:40:25 -07:00
Jonathan A. Sternberg 34f14424dd Filter tags from the condition when building cursors on tsm1 2016-02-10 09:40:25 -07:00
Jonathan A. Sternberg 97752df03d Repair regressions in derivatives with group by tests
Also fixes the `first()` and `last()` calls to do the same thing as
`min()` and `max()` by returning the time corresponding to the start of
the interval rather than the point's real time.
2016-02-10 09:40:25 -07:00
Jonathan A. Sternberg be22097338 Reset the iterator duration to zero when no interval is used 2016-02-10 09:40:25 -07:00
Jonathan A. Sternberg e0ac29dd2d Implement most of top() and bottom()
This does not implement the time selector, but everything else is
implemented. Unfortunately, there are no tests for bottom() in the old
query engine, so only top() is properly tested.
2016-02-10 09:40:25 -07:00
Ben Johnson 00806de9b8 refactor query engine 2016-02-10 09:40:25 -07:00
Ben Johnson 0ad9c31169 simple derivative 2016-02-10 09:40:24 -07:00
Ben Johnson 57336bd6ee fix conditionals 2016-02-10 09:40:24 -07:00
Ben Johnson 60b051ee88 LIMIT/OFFSET 2016-02-10 09:40:24 -07:00
Ben Johnson 036382ee20 SLIMIT/SOFFSET 2016-02-10 09:40:24 -07:00
Ben Johnson cde973f409 refactor query engine 2016-02-10 09:40:24 -07:00
Chris H (CruftMaster) cbc9bb5718 Stop people from using both measurement* and field* in a template (plus tests) 2016-02-10 15:29:09 +00:00
Chris H (CruftMaster) 0bdceb33c7 Switching to t.separator 2016-02-10 15:27:30 +00:00
Chris H (CruftMaster) 7bdcfbfa41 Added some README 2016-02-10 15:27:30 +00:00
Chris H (CruftMaster) 2822b89481 Adding conjoined-field-names for graphite templates 2016-02-10 15:27:30 +00:00
Edd Robinson 4e1c3d0a56 Tidy up README 2016-02-10 11:50:42 +00:00
Edd Robinson bb9eed941e Merge pull request #5590 from influxdata/er-sub-panic
Fixes #5545
2016-02-10 10:46:22 +00:00
Edd Robinson bcc46171cf Address some lint issues 2016-02-10 08:52:08 +00:00
Adarsha 9d25dbf614 Add 1ns delay 2016-02-10 09:49:58 +05:30
Adarsha 1c7d29b79b Add 1ns delay
Windows does not timeout when the timeout is set to 1Nano sec. This causes TestShardWriter_Write_ErrDialTimeout to fail in Windows.

```go
=== RUN TestShardWriter_Write_ErrDialTimeout
[cluster] 2016/02/10 09:32:30 Starting cluster service
[cluster] 2016/02/10 09:32:30 accept remote connection from 127.0.0.1:57034
[cluster] 2016/02/10 09:32:30 unable to read type-length-value read message type: WSARecv tcp 127.0.0.1:57033: use of closed network connection
[cluster] 2016/02/10 09:32:30 close remote connection from 127.0.0.1:57034
[cluster] 2016/02/10 09:32:30 cluster service accept error: network connection closed
--- FAIL: TestShardWriter_Write_ErrDialTimeout (0.00s)
	shard_writer_test.go:162: expected error <nil>, to contain i/o timeout
```
2016-02-10 09:34:53 +05:30
Jon Seymour 375f56333e typo: databse -> database
Signed-off-by: Jon Seymour <jon@wildducktheories.com>
2016-02-10 11:34:34 +11:00
Ross McDonald 887df3c730 Merge pull request #5600 from bwolf/buildpy-pkg-arch-fixes
Fix handling of build.py --pkgarch.
2016-02-09 15:12:12 -06:00
Edd Robinson cfbb219e49 Fixes #5545 2016-02-09 18:41:26 +00:00
Edd Robinson c8210a6ed4 Merge pull request #5586 from otoolep/tweak_tsm_output
Make it clear what the trailing parallel factor is
2016-02-09 18:39:53 +00:00
Edd Robinson f0afa35d0e Merge pull request #5535 from nicgrayson/patch-1
Update README.md for Collectd
2016-02-09 18:39:04 +00:00
Marcus Geiger 9974a6a4d2 Fix handling of build.py --pkgarch.
--pkgarch overrides the architecture which is used in subsequent runs to
build different packages (deb,tar.gz,rpm) and the architecture is used
to index the build information kept in a dict, which of course fails if
it has been overridden. This commit resets the overridden architecture
after each run of fpm to initial, in order to fix the packaging.
2016-02-09 18:39:46 +01:00
Phil Sorber 7d44293506 Update comments to be more idiomatic. 2016-02-09 09:39:30 -07:00
Nic Grayson 87deeb6348 fixed grammar/typos in collectd section of docs 2016-02-09 10:32:43 -06:00
Nic Grayson 3a12b2e392 fixed grammar/typos in collectd section of docs 2016-02-09 10:31:57 -06:00
Jason Wilder aacacbc4c3 Update changelog
[ci skip]
2016-02-09 09:25:09 -07:00
Jason Wilder 83b96b35e9 Merge pull request #5419 from m4ce/master
Adding support for matching tags multiple times in Graphite parser
2016-02-09 09:23:54 -07:00
Jason Wilder efc5de0bf4 Update changelog
[ci skip]
2016-02-09 09:19:49 -07:00
Jason Wilder e24e57cf43 Merge pull request #5376 from nuss-justin/golint/models
Lint models package
2016-02-09 09:17:53 -07:00
Philip O'Toole 3c1cbe0ea7 Don't dump blank entry for backup dir if not set 2016-02-09 08:13:40 -08:00
Philip O'Toole d2908def07 Make it clear what the trailing parallel factor is 2016-02-09 08:13:37 -08:00
Phil Sorber ed650cf4d5 Add Ping() to v2 client. 2016-02-09 09:00:36 -07:00
Edd Robinson 142ff668c8 Merge pull request #5550 from gabelev/lint_engine_wal
Enable `golint` on the tsdb/engine/wal
2016-02-09 15:54:12 +00:00
Ross McDonald e007a09b0c Updated sample configuration for new meta service options. 2016-02-09 09:34:31 -06:00
Gabriel Levine 7d4217ab97 enabled golint for tsdb/engine/wal.go and wal_test.go and updated changelog. 2016-02-09 10:29:09 -05:00
Edd Robinson f2c6a45b58 Merge pull request #5594 from oldmantaiter/fix/lease-redirect
Fix for lease redirect
2016-02-09 15:23:15 +00:00
Tait Clarridge 63ff0ca488 Fix for lease redirect
Previously, the lease redirect was invalid causing anything relying
on a lease for execution (eg. continuous queries) to cease functioning.

The name/nodeid URL param parsing has been moved up to the top of the
handler so the options can be forwarded on to the real leader.

X-Github-Closes: #5592
2016-02-09 09:48:19 -05:00
Matteo Cerutti b26859a5db adding support for matching tags multiple times 2016-02-09 10:19:37 +01:00
Justin Nuß 80e1cd3410 Lint models package 2016-02-09 08:01:30 +01:00
Jason Wilder a9552fdd91 Merge pull request #5565 from tpitale/configure-udp-precision
Configurable precision on UDP services
2016-02-08 15:20:55 -07:00
Tony Pitale f76569c536 update changelog 2016-02-08 16:03:26 -06:00
Jason Wilder 7d03cd859e Update changelog
[ci skip]
2016-02-08 12:54:05 -07:00
Jason Wilder dc74bb53d0 Merge pull request #4299 from arussellsaw/feature/client-reject-uint64
Reject uint64 Client.Point.Field values
2016-02-08 12:52:17 -07:00
Jason Wilder 119ba299b9 Update changelog
[ci skip]
2016-02-08 12:19:36 -07:00
Jason Wilder 4002733695 Merge pull request #5182 from flisky/master
Graphite: prefer more specific template over default template when possible
2016-02-08 12:08:43 -07:00