Commit Graph

5689 Commits (df1aeee70a0c4188317104cca7a215bbf3a30d8e)

Author SHA1 Message Date
Jason Wilder 15ec7b934c Don't include shard group end time in point checks
End time was included in the check for a point.  This meant a
point that was truncated and landed on the end time could fall
in both the prior and next shard groups.  For example, a range
17:00-18:00 and 18:00-19:00 would both include a point that was
at 18:00.
2015-05-19 09:31:02 -06:00
Jason Wilder 050d97dd50 Don't create shard group for each point
Shard groups were being created for each point causing a a lot of
excessive broadcasts for large batches.
2015-05-19 09:31:02 -06:00
Cory LaNou d8ddbefd59 Merge pull request #2568 from influxdb/distinct-aggregate-1815
Wire up SELECT DISTINCT
2015-05-19 09:27:13 -06:00
Cory LaNou fc7d63ce61 validate methods can be private 2015-05-19 09:16:21 -06:00
Cory LaNou 4e5c72ef69 refactor RewriteDistinct (thx @dgnorton) 2015-05-19 09:16:21 -06:00
Cory LaNou 2b7701678c remove cruft 2015-05-19 09:16:21 -06:00
Cory LaNou 580def2ff6 only rewrite if we have distinct 2015-05-19 09:16:20 -06:00
Cory LaNou b9de38e7d4 support SELECT DISTINCT foo and SELECT distinct(foo) 2015-05-19 09:16:20 -06:00
Cory LaNou db79464ae0 more refactoring 2015-05-19 09:16:20 -06:00
Cory LaNou 06d40a2582 SELECT DISTINCT field -> SELECT distinct(field) 2015-05-19 09:16:20 -06:00
Cory LaNou dbacec690d remove trailing spaces 2015-05-19 09:16:20 -06:00
Cory LaNou 97aa735bf1 fix comment type 2015-05-19 09:16:20 -06:00
Cory LaNou e1eeda89a4 update changelog 2015-05-19 09:16:20 -06:00
Cory LaNou 56cf89deb7 adding distinct integration test 2015-05-19 09:16:20 -06:00
Levi Cook e8b0484859 MapDistinct return nil on empty input and TestReduceDistinct 2015-05-19 09:16:20 -06:00
Levi Cook 8d4c36c9f6 MapDistinct and distinctValues sort tests 2015-05-19 09:16:20 -06:00
Cory LaNou 4c28c33332 validateDistinct should complain about aggregates before fields 2015-05-19 09:16:20 -06:00
Levi Cook 41775a54eb map distinct and reduce cleanup 2015-05-19 09:16:20 -06:00
Levi Cook 514dd51bc6 refactor distinctValues sorting 2015-05-19 09:16:19 -06:00
Cory LaNou 81c9c9d681 use a concrete type for distinct results from mapper 2015-05-19 09:16:19 -06:00
Cory LaNou adc0e55a15 assing -> assign 2015-05-19 09:16:19 -06:00
Cory LaNou 031596a894 support bool sort for distinct results 2015-05-19 09:16:19 -06:00
Cory LaNou c8bf5e2ee8 add bool scenarios to distinct data script 2015-05-19 09:16:19 -06:00
Cory LaNou 66b7157fa4 add a test that has single quoted field name 2015-05-19 09:16:19 -06:00
Cory LaNou 69ff1d2c61 allow for a quoted field name in distinct 2015-05-19 09:16:19 -06:00
Cory LaNou 5842321361 allow distinct to work on strings and be sorted 2015-05-19 09:16:19 -06:00
Cory LaNou 7d11effe0f make distinct care about the same thing aggregates do for validation 2015-05-19 09:16:19 -06:00
Cory LaNou 639311b00b some test data for working with distinct at the cli 2015-05-19 09:16:19 -06:00
Cory LaNou 3d30720ec4 wip 2015-05-19 09:16:19 -06:00
Cory LaNou 3f9eacf24c add validations to parser for distinct 2015-05-19 09:16:19 -06:00
Cory LaNou b6b916edbc add distinct keyword 2015-05-19 09:16:19 -06:00
Cory LaNou 76e7055452 Merge pull request #2603 from influxdb/cli-fixes
Cli fixes
2015-05-19 09:12:52 -06:00
Cory LaNou 60729fdd77 cli usage corrections 2015-05-18 18:18:44 -06:00
Cory LaNou 8beda919d0 update usage 2015-05-18 18:18:44 -06:00
Cory LaNou eb2fec638f update changelog 2015-05-18 18:18:44 -06:00
Cory LaNou 977b84d6a0 update cli flags: output -> format, +pretty 2015-05-18 18:18:44 -06:00
Cory LaNou e947fc41b8 clean up liner before an os exit (skips the defer) 2015-05-18 18:18:44 -06:00
Todd Persen d80ef2286d Merge pull request #2601 from influxdb/disable-failover-test
Disable problematic tests
2015-05-18 14:45:18 -07:00
Philip O'Toole 5cb2e75147 Skip remaining cluster tests 2015-05-18 11:48:30 -07:00
Jason Wilder a682188c81 Re-add raft/messaging
Deleting them broke the build.
2015-05-18 12:48:10 -06:00
Philip O'Toole ab88a4b2b0 Disable TestClientLibrary 2015-05-18 11:44:10 -07:00
Ben Johnson 2e828c70d2 Add meta.Store accessors. 2015-05-18 12:39:58 -06:00
Ben Johnson d436020f19 Refactor meta data to separate package.
This commit moves meta data from the influxdb.Server and extracts it
out to a new "meta" package. This package handles all strongly
consistent data in the database and maintains a small set of metadata
in-memory.

Conflicts:
	meta/store.go
2015-05-18 12:39:58 -06:00
Philip O'Toole 4da39a3a6f RLock shards during diagnostics 2015-05-18 11:39:37 -07:00
Jason Wilder 2b0cc493e5 Write path interfaces
This adds some placeholder interfaces for the new write path.
2015-05-18 12:35:34 -06:00
Philip O'Toole 5cd52c7a3c Disable single-server integration testing 2015-05-18 11:13:53 -07:00
Philip O'Toole a823846612 Disable runTest_rawDataReturnsInOrder 2015-05-18 11:02:18 -07:00
Philip O'Toole bcf312bcea Disable 3-node cluster test 2015-05-18 10:47:02 -07:00
Philip O'Toole 525500df66 Disable Test_ServerSingleGraphiteIntegration_NoDatabase 2015-05-18 09:53:58 -07:00
Philip O'Toole dd4041a9c0 Re-enable test parallelism 2015-05-18 09:44:43 -07:00