Commit Graph

150 Commits (c1d6c14c47dfb4d60878a979fbdd8b526281d3d6)

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
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 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 8e2868ed60 Added support for setting retention policy on database creation.
Fixes #2676
2015-11-27 20:02:55 +00: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
Pablo Miranda 6938073431 fixes english typos 2015-11-09 20:37:59 -08:00
Philip O'Toole 304942d935 DRY up the minimum retention duration variable 2015-11-09 16:57:47 -08:00
Pablo Miranda b2195d03a8 completes lint for met folder 2015-11-06 22:54:23 -08: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 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
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 7212bfce83 add RENAME DATABASE 2015-10-09 13:55:38 -04:00
Philip O'Toole 2ac0357406 Support dropping non-Raft nodes 2015-10-04 00:19:52 -07:00
Philip O'Toole d74e0690c7 Revert "Merge pull request #4233 from influxdb/drop-server"
This reverts commit 0bdb36f6dc, reversing
changes made to 3085fbc138.
2015-10-02 08:39:57 -07:00
Cory LaNou e294c89308 use concurrenty safe Peers method 2015-10-02 09:17:15 -05:00
Cory LaNou 42896fee0f use close instead of shutdown 2015-10-02 09:10:01 -05:00
Cory LaNou efc8a57a75 checkRaftState -> enableLocalRaftIfNecessary 2015-10-01 17:13:47 -05:00
Cory LaNou 785ff6a235 use safe call that is already locked 2015-10-01 17:04:08 -05:00
Cory LaNou 2379a0a406 check for nil raftState 2015-10-01 16:54:46 -05:00
Cory LaNou 114b20ec5c need some locking, remove redundant check 2015-10-01 16:52:14 -05:00
Cory LaNou 98de77eeaf attempt to heal a cluster, shut down raft after removing a node 2015-10-01 15:39:16 -05:00
Cory LaNou c108c6eb96 fix remove peer, add leader to show servers 2015-10-01 15:39:16 -05:00
Cory LaNou df08a070f6 do not remove raft files unless it is the node being removed 2015-10-01 15:39:16 -05:00
Cory LaNou 96d63cf9f0 simpler remove peer 2015-10-01 15:39:16 -05:00
Cory LaNou 50ac00f378 log errors for removePeer 2015-10-01 15:39:16 -05:00
Cory LaNou 99da67007d no more shutdown 2015-10-01 15:39:15 -05:00
Cory LaNou 73372ed907 [Ee]xecuteShutdown -> [Mm]onitorShutdown 2015-10-01 15:39:15 -05:00
Cory LaNou 7a3e1f6b27 removing peer wip 2015-10-01 15:39:15 -05:00
Cory LaNou 93507c0b51 add force for drop server, misc fixes, more wip 2015-10-01 15:39:15 -05:00
Cory LaNou e50eb3172a drop server command 2015-10-01 15:39:14 -05:00
Philip O'Toole 591e33b1d8 Initial work, does not address issue 2015-09-30 11:58:42 -07:00
Philip O'Toole 82f866702a Remove obsolete comment 2015-09-28 20:56:43 -07:00
Philip O'Toole db120f4c0e Log database and retention policy creation 2015-09-08 11:24:59 -07:00
Jason Wilder 380d82b078 Fix race in local node creation
It was possible for the metastore Open call to return before it actually
created it's local node.
2015-09-05 09:07:37 -06:00