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
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
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
linearb
7212bfce83
add RENAME DATABASE
2015-10-09 13:55:38 -04:00
Philip O'Toole
eb28817afe
Don't panic when DROPing non-existent nodes
2015-10-05 16:56:19 -07: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
def2551d65
to much code depends on setting this to nil yet
2015-10-01 15:57:55 -05:00
Cory LaNou
eaae1cbe24
remove comment
2015-10-01 15:48:17 -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
3071eec2ca
only the leader can remove a peer
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
6f74a64bf6
clarify comment and refactor
2015-10-01 15:39:16 -05:00
Cory LaNou
b9a7f51f12
must always test...
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
0191319370
ErrNodeDataLossImminent -> ErrShardNotReplicated
2015-10-01 15:39:15 -05:00
Cory LaNou
76c45fdf55
not dealing with pointers, need to update original
2015-10-01 15:39:15 -05:00