Commit Graph

249 Commits (9c916b0b762ab2bebc23e1a79b84b01d69922a7d)

Author SHA1 Message Date
Nathaniel Cook eb080785d4 add bounds checking for shard group timestamps
enforce strict valid time ranges on points

small
2015-12-09 13:07:13 -07:00
Philip O'Toole 66cb861b59 Test_OpenRaft is racy 2015-12-09 11:01:41 -08:00
Philip O'Toole c6ba1bff2a Merge pull request #5016 from oiooj/master
Fix raftState close panic
2015-12-07 20:27:31 -08:00
oiooj 134546ee18 Fix raftState close panic 2015-12-08 11:41:25 +08:00
Cory LaNou 477110f0b7 add option to disable logging for meta service. useful for testing 2015-12-03 11:11:36 -06:00
Cory LaNou 35b438f8fa silence meta/rpc logging for testing 2015-12-03 08:04:10 -06:00
David Norton 3208564192 fix RP not found error messages 2015-12-03 08:04:09 -06:00
David Norton 657877dd94 make not found err messages more consistent 2015-12-03 08:04:09 -06:00
Paul Dix 218ef13ac1 Merge pull request #4866 from pires/2676-createdb_with_retention
Added support for configurable default retention policy on database creation
2015-12-02 11:32:52 -05:00
oiooj f14482040e Fix restore functionality hangs forever 2015-11-29 11:19:14 +08:00
Paulo Pires 30cc1339ec Renamed RetentionPolicyExists to RetentionPolicyCreate. 2015-11-28 16:15:00 +00:00
Paulo Pires 8e2868ed60 Added support for setting retention policy on database creation.
Fixes #2676
2015-11-27 20:02:55 +00:00
runner ce26ee35fa fix TestCluster_OpenRaft is timeout #4853
This bug is produce by tcp buffer, must flush tcp stream after the copy L53, but Flush is not exists in the net.TcpConn struct.
2015-11-22 13:34:37 +08:00
Mateusz Dymiński 8090ba6830 SHOW SHARD GROUPS 2015-11-14 22:27:24 +01:00
Cory LaNou b2ed141136 test auto replace raft node 2015-11-11 10:04:26 -06:00
Cory LaNou 3912c71ccf tweaks based on pr review. added config for raft self healing 2015-11-11 10:04:26 -06:00
Cory LaNou c91c6c942c tweaks based on pr feedback 2015-11-11 10:04:26 -06:00
Cory LaNou 8a8564eb51 make raft self healing 2015-11-11 10:04:26 -06:00
Cory LaNou 70e1a832d2 Automatically promote node to raft if needed 2015-11-11 10:04:26 -06:00
Philip O'Toole 636480cee2 Merge pull request #4705 from pablolmiranda/complete-lint-meta
Completes lint for meta folder
2015-11-10 16:14:28 -08:00
Philip O'Toole 8022c2881a Merge pull request #4725 from influxdb/deleted_sgs
Don't display "deleted" shards in SHOW SHARDS output
2015-11-10 08:27:22 -08:00
Pablo Miranda 6938073431 fixes english typos 2015-11-09 20:37:59 -08:00
Philip O'Toole 7fd02d63d4 Show shard group ID on SHOW SHARDS 2015-11-09 18:30:45 -08:00
Philip O'Toole bbe9058041 Don't SHOW SHARDS for deleted shard groups
Fixes issue #4709.
2015-11-09 17:02:34 -08:00
Philip O'Toole 304942d935 DRY up the minimum retention duration variable 2015-11-09 16:57:47 -08:00
Philip O'Toole dd1c7a5c61 Skip racy test
Issue #4723.
2015-11-09 15:57:17 -08:00
oiooj 6e9b210e63 raft.raftLayer already closed in raft.NetworkTransport.Close() 2015-11-10 00:09:19 +08:00
Pablo Miranda b2195d03a8 completes lint for met folder 2015-11-06 22:54:23 -08:00
Paulo Pires efd67f2351 SHOW SHARDS now includes database name and retention policy. Fixes #4660 2015-11-05 18:38:35 -05:00
Philip O'Toole 2f3f7b82bc Clearer log messages on shard-precreation 2015-10-28 08:33:39 -07:00
Cory LaNou 25a9127aa9 minor changes based on PR feedback 2015-10-26 10:07:40 -05:00
Cory LaNou 49b9329ea4 allow dropping of raft nodes 2015-10-23 14:48:32 -06:00
Cory LaNou ff4209436f close raftState before waiting 2015-10-23 14:48:32 -06:00
Cory LaNou 1d78e0677b fix wg.Wait on meta.Store, refactorings, debug statements 2015-10-23 14:48:32 -06:00
Cory LaNou b4637ab814 add more context to no leader errors 2015-10-23 14:48:32 -06:00
Cory LaNou a92ba82085 fix race, add better error message 2015-10-23 14:48:32 -06:00
Cory LaNou 13c1e0adc3 baseline drop raft node 2015-10-23 14:48:32 -06:00
David Norton a3d127f797 Revert "add RENAME DATABASE"
This reverts commit 7212bfce83.

Conflicts:
	influxql/parser.go
	influxql/token.go
	meta/internal/meta.pb.go
	meta/internal/meta.proto
2015-10-20 09:01:34 -04:00
David Norton 20929c3db2 Revert "change syntax to ALTER DATABASE ... RENAME TO ..."
This reverts commit 668b5b9bfb.
2015-10-20 08:43:45 -04:00
David Norton 84803a41a1 Revert "update user privileges on database rename"
This reverts commit 1383d964aa.
2015-10-20 08:42:19 -04:00
David Norton 34c9a053dd Revert "improvements from code review"
This reverts commit 37964a032f.

Conflicts:
	meta/internal/meta.proto
2015-10-20 08:41:50 -04:00
David Norton 73a0c0a247 Revert "return error when database rename conflicts with continuous queries"
This reverts commit 60d298936e.
2015-10-20 08:39:03 -04:00
Cory LaNou 00acf0b01e fix sequence in meta proto 2015-10-19 09:02:10 -05:00
Charles Chan 456a9a8ab7 Fix typos.
* meaining --> meaning
* communcation --> communication
* deterimine --> determine
* mistmatch --> mistmatch
2015-10-17 07:50:45 -07:00
Nathaniel Cook 8b31007aa7 Adds subscriber service for creating/dropping subscriptions to the
InfluxDB data stream.
2015-10-14 15:23:45 -06:00
Jason Wilder 59ddaa960b Fix meta.WaitForDataChanged not signaling for remote nodes
WaitForDataChanged is used to block a goroutine so it can be woken
up when the metastore has been updated.  This makes it so clients
to the metastore do not need to poll the metastore repeatedly to
watch for changes.  This was only working for local raft nodes, but
was supposed to work for remote nodes as well.
2015-10-13 10:20:38 -06:00
linearb 60d298936e return error when database rename conflicts with continuous queries 2015-10-09 13:57:02 -04:00
linearb 37964a032f improvements from code review 2015-10-09 13:57:02 -04:00
linearb 1383d964aa update user privileges on database rename 2015-10-09 13:56:23 -04:00
linearb 668b5b9bfb change syntax to ALTER DATABASE ... RENAME TO ... 2015-10-09 13:56:23 -04:00