Yicheng Qin
01322cd243
server: move TestClusterConfigReload to etcd/
2014-09-03 09:20:00 -07:00
Yicheng Qin
efaef49734
server: move TestSingleNodeRecovery under etcd/
2014-09-03 09:20:00 -07:00
Xiang Li
3fba10c8e6
etcd: add version handlers
2014-09-03 09:19:58 -07:00
Yicheng Qin
6534525cf8
server: add bootstrap tests
2014-09-03 09:19:57 -07:00
Xiang Li
0ccd09532b
etcd: add joinThroughFollower test
2014-09-03 09:19:52 -07:00
Xiang Li
a0c0638744
tests: remove unnecessary test
2014-09-03 09:19:51 -07:00
Xiang Li
60c8dbe0c9
etcd: rewrite kill_leader and kill_random test
2014-09-03 09:19:51 -07:00
Yicheng Qin
02ced2c2d7
v1: deprecate v1 support
...
Etcd moves to 0.5 without the support of v1.
2014-09-03 09:19:49 -07:00
Rob Strong
494d2c67aa
fix(peer_server) set content type to application/json in admin
2014-06-21 13:13:10 -04:00
Yicheng Qin
25e69d9659
fix(multi_node_kill_all_and_recovery_test): ensure cluster is up
2014-06-02 14:43:51 -07:00
Yicheng Qin
e04a188358
fix(remove_node_test): remove unnecessary cluster configuration
...
The cluster configuration operation is originally to make sure
the instance won't be added back automatically between removal and
check for the number of existing peer-mode instances. But this
could make some node removed before the removal command.
Use longer sync interval instead to avoid this problem.
2014-06-02 13:30:19 -07:00
Yicheng Qin
7cb126967c
fix(simple_snapshot_test): enlarge reasonable index range
2014-05-31 10:42:31 -07:00
Yicheng Qin
444e017c05
fix(remove_node_test): ensure cluster config is activated
2014-05-31 10:32:03 -07:00
Yicheng Qin
356675b70f
fix(multi_node_kill_all_and_recovery_test): ensure cluster running
2014-05-31 10:15:03 -07:00
Yicheng Qin
37796ed84c
tests: add TestMultiNodeKillAllAndRecorveryAndRemoveLeader
...
This one breaks because it doesn't set joinIndex correctly.
2014-05-31 10:01:45 -07:00
Yicheng Qin
ca29691543
tests(standby_test): comments
2014-05-30 18:36:23 -07:00
Yicheng Qin
4bebb538eb
fix(standby_server): able to join the cluster containing itself
...
Standby server will switch to peer server if it finds that
it has been contained in the cluster.
2014-05-30 14:03:49 -07:00
Xiang Li
aaedf32c04
fix(test/remove_node_test.go) fix a deadlock in the test
...
The go-etcd client waits for the response from the paused node. And the test waits for the reponse to continue.
Actually we do not even need that small test, since we will check the machine status afterwards.
2014-05-20 14:34:59 -07:00
Yicheng Qin
9e5b12f591
tests(remove_node): add TestRemovePausedNode
2014-05-20 11:01:14 -07:00
Yicheng Qin
71679bcf56
feat(standby_server): make atomic move for file
...
to avoid the risk of writing out a corrupted file.
2014-05-16 01:00:07 -04:00
Yicheng Qin
b7d9fdbd39
feat(standby_server): write cluster info to disk
...
For better fault tolerance and availability.
2014-05-15 07:47:15 -04:00
Yicheng Qin
fc77b3e9e6
fix(simple_snapshot_test): enlarge reasonable index range
2014-05-13 22:28:28 -04:00
Yicheng Qin
403f709ebd
chore(cluster_config): set default timeout to 5s
...
Or the leader death could let the standbys down for a rather long time.
2014-05-13 16:13:44 -04:00
Yicheng Qin
5367c1c998
chore(standby): minor changes based on comments
2014-05-09 15:38:03 -07:00
Yicheng Qin
6d4f018887
chore(cluster_config): rename SyncClusterInterval to SyncInterval
...
for better naming
2014-05-09 13:28:21 -07:00
Yicheng Qin
baadf63912
feat: implement standby mode
...
Change log:
1. PeerServer
- estimate initial mode from its log through removedInLog variable
- refactor FindCluster to return the estimation
- refactor Start to call FindCluster explicitly
- move raftServer start and cluster init from FindCluster to Start
- remove stopNotify from PeerServer because it is not used anymore
2. Etcd
- refactor Run logic to fit the specification
3. ClusterConfig
- rename promoteDelay to removeDelay for better naming
- add SyncClusterInterval field to ClusterConfig
- commit command to set default cluster config when cluster is created
- store cluster config info into key space for consistency
- reload cluster config when reboot
4. add StandbyServer
5. Error
- remove unused EcodePromoteError
2014-05-09 01:56:55 -07:00
Yicheng Qin
af33d61774
Merge pull request #775 from unihorn/84
...
refactor(tests/server_utils): use etcd instance
2014-05-08 11:53:46 -07:00
Yicheng Qin
04f09d2fd0
feat(peer_server): add State field to machineMessage
...
State field indicates the state of each machine.
For now, its value could be follower or leader.
2014-05-08 10:25:39 -07:00
Yicheng Qin
7dce4c8fbb
refactor(tests/server_utils): use etcd instance
...
Remove duplicated etcd start code.
2014-05-07 11:49:03 -07:00
Xiang Li
b56aa62bcc
Merge pull request #773 from unihorn/82
...
tests(snapshot): expand reasonable range for index
2014-05-07 13:02:41 -04:00
Yicheng Qin
c4cd86e094
tests(snapshot): expand reasonable range for index
...
snapshot file was createed with name '0_503.ss' and '0_1010.ss' when testing.
2014-05-07 09:41:36 -07:00
Yicheng Qin
17e299995c
refactor(peer_server): remove standby mode in peer server
2014-05-07 09:10:09 -07:00
Yicheng Qin
ece25833aa
Merge pull request #738 from unihorn/68
...
feat(peer_server): forbid rejoining with different name
2014-04-18 11:49:36 -07:00
Yicheng Qin
000e3ba651
chore(rejoin_test): rewrite some printout
2014-04-18 10:48:14 -07:00
Yicheng Qin
b742af56ec
Merge pull request #723 from unihorn/63
...
tests: add TestJoinThroughFollower
2014-04-17 19:44:46 -07:00
Yicheng Qin
b17703a9e4
chore(tests/join): adjust output
2014-04-17 19:28:58 -07:00
Yicheng Qin
0c95e1eabb
feat(peer_server): forbid rejoining with different name
...
Or it will confuse the cluster, especially the heartbeat between nodes.
2014-04-17 15:46:33 -07:00
Yicheng Qin
732fb7c160
tests(rejoin): add TestReplaceWithDifferentPeerAddress
...
The functionality has not been implemented yet.
2014-04-17 10:17:26 -07:00
Yicheng Qin
273c293645
fix(server): rejoin cluster with different ip
2014-04-17 10:16:30 -07:00
Yicheng Qin
67600603c5
chore: rename proxy mode to standby mode
...
It makes the name more reasonable.
2014-04-17 08:04:42 -07:00
Yicheng Qin
adf4acf947
chore: gofmt go files
2014-04-15 09:42:25 -07:00
Yicheng Qin
d88b52c5f3
fix(tests/v1_migration): correct HTTP response
...
The bug is introduced in 03839ca8
due to the mistake.
2014-04-15 09:25:14 -07:00
Yicheng Qin
8bcfb2ecaf
Merge pull request #707 from unihorn/62
...
fix(peer_server): recover from outage with discovery
2014-04-14 13:58:43 -07:00
Yicheng Qin
03839ca806
fix(peer_server): recover from outage with discovery
...
This patch also contains the refactor of find cluster process.
It is changed based on @xiangli-cmu 's commits in 627 issue.
2014-04-14 13:56:47 -07:00
Yicheng Qin
de9c318436
tests: add TestJoinThroughFollower
2014-04-14 13:41:45 -07:00
Xiang Li
bc70cdc242
tests(snapshot_test) loose the timing assumption for snapshot test
...
Test run slowly on drone after open race option.
2014-04-11 19:49:57 -04:00
Xiang Li
fc84da29e8
fix(internal_version_test.go) protect the checkedVersion by a lock
2014-04-10 23:35:55 -04:00
Xiang Li
2817baf3f8
fix(discovery_test.go) protect the garbageHandler by a lock
2014-04-10 23:28:40 -04:00
Yicheng Qin
28f19dec60
feat(server): make header-only requests work
2014-04-07 13:51:33 -07:00
Yicheng Qin
1c40f327be
test(snapshot): test restart with snapshot
2014-04-04 16:45:02 -07:00
Yicheng Qin
0a4b6570e1
chore(tests): start TLS cluster slowly to evade problem
2014-04-04 10:57:11 -07:00
Xiang Li
5b4a473f14
Merge pull request #667 from unihorn/53
...
chore(tests): test TestTLSMultiNodeKillAllAndRecovery now
2014-03-27 22:40:09 -04:00
Yicheng Qin
4e747d24dd
chore(tests): test TestTLSMultiNodeKillAllAndRecovery now
...
It is fixed.
2014-03-27 17:06:18 -07:00
Tomás Senart
b6053d6a86
Making code formatting consistent.
...
$ gofmt -s -w && goimports -w
2014-03-27 14:19:08 +01:00
Blake Mizerany
4bce3e4810
test(tests/functional): skip TestTLSMultiNodeKillAllAndRecovery until fixed
2014-03-26 19:22:59 -07:00
Ben Johnson
62b89a128a
Merge branch 'master' of https://github.com/coreos/etcd into proxy
...
Conflicts:
config/config.go
server/peer_server.go
server/transporter.go
tests/server_utils.go
2014-03-24 15:30:14 -07:00
Ben Johnson
174b9ff343
bump(github.com/goraft/raft): 6bf34b9
...
Move from coreos/raft to goraft/raft and update to latest.
2014-03-24 15:09:47 -07:00
Ben Johnson
7d4fda550d
Machine join/remove v2 API.
2014-03-18 16:25:21 -06:00
Yicheng Qin
15126a680f
Merge pull request #621 from unihorn/34
...
chore(fixtures/ca): make all certificates generated by etcd-ca
2014-03-17 13:47:59 -07:00
Yicheng Qin
50d9e6a7fd
chore(fixtures/ca): make all certificates generated by etcd-ca
2014-03-17 12:32:55 -07:00
Xiang Li
3ae792b159
refactor(listener) refactor listener related code
...
Remove duplicate code around creating http listener.
Start to listen incoming http requests just before serving them.
2014-03-13 15:47:27 -07:00
Ben Johnson
c0a59b3a27
Add minimum active size and promote delay.
2014-03-10 14:44:04 -06:00
Ben Johnson
3fff1a8dcd
Add /machines and /machines/:name endpoints.
2014-03-06 15:11:31 -07:00
Ben Johnson
c8d6b26dfd
Add auto-demotion after peer inactivity.
2014-03-03 11:15:05 -07:00
Yicheng Qin
69adb78433
fix(transporter): CancelRequest doesn't work on HTTPS connections blocked
...
Currently this is a workaround. And it should be fixed in Go1.3.
2014-02-27 14:31:46 -08:00
Yicheng Qin
e99bc99dcc
fix(tests/multi_node_kill_all_and_recovery): wait for cluter to build over
2014-02-27 14:31:46 -08:00
Ben Johnson
fddbf35df2
Add automatic node promotion / demotion.
2014-02-25 10:02:01 -07:00
Ben Johnson
f5698d3566
Proxy promotion.
2014-02-24 17:01:04 -07:00
Ben Johnson
1d961b8e56
Add proxy mode.
2014-02-22 15:02:20 -07:00
Yicheng Qin
46d817f91b
Merge pull request #577 from unihorn/6
...
chore: rename 'heartbeat timeout' to 'heartbeat interval'
2014-02-18 17:11:31 -08:00
Yicheng Qin
f434177a9a
chore: rename 'heartbeat timeout' to 'heartbeat interval'
...
Heartbeat timeout means the period length that indicates heartbeat is
out of service, which is different from heartbeat interval.
So we should use '-peer-heartbeat-interval' instead of
'-peer-heartbeat-timeout' in etcd.
'-peer-heartbeat-timeout' is deprecated but still could be used.
2014-02-18 16:37:20 -08:00
Yicheng Qin
04f21b5976
Merge pull request #569 from unihorn/5
...
Ordering and functionality of `-discovery` `-peers` and data dir to find peers
2014-02-17 14:34:53 -08:00
Yicheng Qin
3a4df1612c
feat(discovery): adjust boot order to find peers
...
The boot order for peers is -discovery, -peers, log data, forming
new cluster itself.
Special rules:
1. If discovery succeeds, it would find peers specified by discover URL
only.
2. Etcd would fail when meeting bad -discovery, no -peers and log data.
Add TestDiscoveryDownNoBackupPeersWithDataDir as the test.
2014-02-17 12:53:39 -08:00
Yicheng Qin
bd56b15b6e
fix(tests/discovery): use host as -peers parameter instead of url
...
Or it cannot test the functionality correctly.
Moreover, add TestDiscoveryNoWithBackupPeers as the test for it.
2014-02-14 18:23:41 -08:00
Brandon Philips
a72f913a60
fix(tests/functional): some squashing mistakes in PR merge
...
accidental squash mistake in the last PR that was merged caused a
function to be renamed but not it's caller.
2014-02-14 18:17:30 -08:00
Yicheng Qin
efdc741e5c
feat(tests/util): wait until server is up when creating cluster
...
Wait until server is up instead of for some time
2014-02-14 18:06:43 -08:00
Yicheng Qin
e69118ade7
chore(tests/multi_node_kill_one): check function-call result
...
To stop test in time if error occurs
2014-02-14 17:36:11 -08:00
Yicheng Qin
7ad2dadabf
chore(test): remove useless node1.etcd dir
...
It is a directory checked in from an etcd test run in mistake.
2014-02-13 08:52:16 -08:00
Brandon Philips
76da437f29
bump(github.com/coreos/raft): ef3280ce54f60fff98a72012f547ed2b3415841f
2014-02-07 11:19:23 -08:00
Brandon Philips
21d7d14178
chore(tests/discovery): remove errant debug statement
2014-02-06 22:10:10 -08:00
Brandon Philips
14f15c33fe
fix(tests/server_utils): use a WaitGroup for RunServer
...
Make sure that all of the servers exit before we return by using a
WaitGroup in each handler. This was used to help track down the issue
with the TestDiscoverySecondPeerUp test and the hung go-etcd watcher.
2014-02-06 22:10:10 -08:00
Brandon Philips
bfbc539321
hack(tests/discovery): don't use go-etcd for watch
...
go-etcd has a bug in the watcher that holds open a goroutine. Avoid
goetcd for this operation until it is fixed.
2014-02-06 22:10:10 -08:00
Brandon Philips
5f124166eb
feat(tests/discovery): use low retry interval
...
In TestDiscoverySecondPeerFirstNoResponse use a low retryinterval so the
test doesn't take forever.
2014-02-06 22:10:10 -08:00
Brandon Philips
da3fe920cb
fix(tests/v1_migration): add a -name flag
...
The info flag is ignored as of 1c91c167fc
so in order for this test to work we need to add `-name` flag.
2014-02-06 21:23:00 -08:00
Brian Waldon
63fa35c99f
refactor(tls): clarify & simplify tls configuration
2014-02-06 21:15:38 -08:00
Brandon Philips
cbdf4a738c
fix(discovery): use prevExist instead of prevValue=init
...
Use PUT /_state?prevExist=true in the protocol instead of PUT
/_state?prevValue=init. This lets people point one vanilla etcd at the
key prefix of another vanilla etcd and have it just work.
2014-02-05 15:14:57 -08:00
Brandon Philips
2822b9c579
tests(tests/functional): add tests for Discovery
...
This tests a variety of failure cases for the Discovery service
including:
- Initial leader failures
- Discovery service failures
- Positive tests for discovery working flawlessly
2014-02-05 09:27:39 -08:00
Brandon Philips
ff6090836c
fix(tests/server_utils): add a metrics bucket
...
This is required to avoid getting nil pointer exceptions if a peer joins
this test server.
2014-02-05 09:27:39 -08:00
Brandon Philips
72b393ca53
Merge pull request #519 from philips/fixup-server-tls-client-config
...
fix(server): fix client certificate verification
2014-02-03 17:33:45 -08:00
Brian Waldon
226c20c097
test(TLS): Add test coverage for etcd TLS
2014-02-03 17:32:24 -08:00
Brandon Philips
d7d20d1c3d
bump(github.com/stretchr/testify): 9cc77fa25329013ce07362c7742952ff887361f2
2014-02-02 16:57:36 -08:00
Brandon Philips
2557992b70
fix(tests): use correct raft package
2014-02-02 16:57:36 -08:00
Brandon Philips
13b6c1e684
chore(*): make everything use goven
...
for i in github.com/BurntSushi/toml github.com/coreos/go-etcd/etcd github.com/coreos/go-log/log github.com/gorilla/context github.com/rcrowley/go-metrics bitbucket.org/kardianos/osext github.com/coreos/go-systemd/journal github.com/coreos/raft code.google.com/p/goprotobuf/proto ; do goven -copy -rewrite $i; done
2014-02-01 23:44:18 -08:00
Brandon Philips
ea8a353545
chore(*): gofmt everything
2014-02-01 23:44:10 -08:00
Brian Waldon
2fe22f1890
refactor(servers): emit http.Handlers from *Server
2014-01-22 11:17:58 -08:00
Brian Waldon
089021ca6d
refacotor(transporter): make TLS config explicit
2014-01-22 11:17:58 -08:00
Brian Waldon
f158dfcd77
refactor(peerserver): Remove PeerServerConfig.Path
2014-01-22 11:17:58 -08:00
Brian Waldon
a7d9efa900
refactor(server): Remove ServerConfig struct
2014-01-22 11:17:58 -08:00
Brian Waldon
0abd860f7e
refactor(server): drop Serve code; rename cors object
...
* server/cors.go renamed to http/cors.go
* all CORS code removed from Server and PeerServer
* Server and PeerServer fulfill http.Handler, now passed to http.Serve
* non-HTTP code in PeerServer.Serve moved to PeerServer.Start
2014-01-22 11:17:57 -08:00
Brian Waldon
a2ee620394
refactor(raft): init raft transporter & server in main
2014-01-22 11:17:56 -08:00
Brian Waldon
7bd4d05a38
refactor(peer-server): move listener init out of peer_server.go
2014-01-22 11:17:41 -08:00
Brian Waldon
d0c4916fe9
refactor(server): move listener init out of server.go
2014-01-22 11:17:26 -08:00
Brian Waldon
a93d60be90
refactor(cors): Break apart CORS data and middleware
2014-01-22 11:17:26 -08:00
Brian Waldon
c47760382e
refactor(Server): Use a config struct in Server
2014-01-22 11:17:25 -08:00
Brian Waldon
9c8a23c333
refactor(PeerServer): Use a config struct in PeerServer
2014-01-22 11:17:03 -08:00
Brian Waldon
7eaad5c8e0
feat(metrics): enable some metrics; push to graphite
...
* -trace flag controls whether or not to enable metrics-gathering
and the /debug/* HTTP endpoints
* -graphite-host flag controls where metrics should be sent
* timer.ae.handle metric tracks execution time of AppendEntriesRequest
2014-01-20 15:39:36 -08:00
Brian Waldon
32df6f92fc
fix(peer): Pass peer server timeouts through factory
...
The peer's heartbeat and election timeouts are needed to build
the transporter in the factory method.
2014-01-14 09:18:03 -08:00
Xiang Li
715b4d7bfc
Merge pull request #408 from xiangli-cmu/compareAndDelete
...
Compare and delete
2013-12-25 13:16:27 -08:00
Chris Shoemaker
d89fa131ab
feat(v2/errors): Use more appropriate HTTP status codes for error cases.
...
This commits adds test coverage for all the error and non-error cases
described below, but only the behavior of the 403, 404 and 412 cases
are changing in this commit.
When setting a key results in a new resource, we asset an HTTP status
code of 201 (aka "Created").
When attempting to get a resource that doesn't exist, we assert an
HTTP status code of 404 (aka "Not Found").
When attempting to delete a directory without dir=true, or a non-empty
directory without recursive=true, but the request is otherwise valid,
we assert an HTTP status code of 403 (aka "Forbidden").
When a precondition (e.g. specified by prevIndex, or prevValue) is not
met, but the request is otherwise syntactically valid, we assert an
HTTP status code of 412 (aka "Precondition Failed"). However,
prevExist is handled slightly differently. If prevExist=false fails,
then this is treated like a failed precondition, so it should use
PreconditionFailed. But, if prevExist=true fails, then this is
treated like other requests that require the existence of the
resource, and uses NotFound if the resource doesn't exist.
We continue to assert an HTTP status code of 400 when the request is
syntactically invalid (e.g. when prevIndex=bad_index).
2013-12-21 21:39:19 -05:00
Xiang Li
c4179829d6
tests(get_handler) loosen the time assumption for the un
2013-12-20 08:23:50 +08:00
Cong Ding
468bfedf34
gofmt
2013-12-12 14:53:22 -08:00
Xiang Li
dd354c9e22
Merge pull request #376 from xiangli-cmu/dir_flag
...
feat add dir_flag
2013-12-09 08:34:57 -08:00
Ben Johnson
8442e7a0dc
Timeout refactor.
2013-12-07 14:35:31 -07:00
Ben Johnson
aabd0faebe
Merge branch 'feature-parametric-timeout' of https://github.com/neildunbar/etcd into neildunbar-feature-parametric-timeout
2013-12-07 14:07:53 -07:00
Brian Waldon
0fb8fc0b8d
fix(v2): Drop prevValue from exported fields
2013-12-06 11:46:23 -08:00
Neil Dunbar
a06f5e74af
Merge remote-tracking branch 'upstream/master' into feature-parametric-timeout
...
Conflicts:
Dockerfile
server/usage.go
tests/server_utils.go
2013-12-06 10:13:33 +00:00
Xiang Li
e00296960c
test fix tests
2013-12-05 18:16:01 -05:00
Neil Dunbar
0867b33de5
fix(Dockerfile): reverted unneeded changes
...
fix(server/config.go): ensured params are changeable from config file and env
fix(server/server.go): removed unnecessary debug line
fix(server/timeout.go): removed a commented block
style(server/transporter.go): put explicit vars to replace timeout expressions
style(tests/server_utils.go): ran gofmt to clean up indenting
2013-12-05 09:23:23 +00:00
Ben Johnson
5d865e321c
Merge branch 'master' of https://github.com/coreos/etcd into mod-lock
...
Conflicts:
server/v2/tests/delete_handler_test.go
server/v2/tests/get_handler_test.go
server/v2/tests/post_handler_test.go
server/v2/tests/put_handler_test.go
third_party/github.com/coreos/go-etcd/etcd/requests.go
2013-12-04 22:36:53 -07:00
Neil Dunbar
faab194247
Fixed test case
2013-12-04 17:39:03 +00:00
Xiang Li
c6e1af8321
merge master
2013-12-02 22:36:38 -05:00
Brandon Philips
72bf216cb4
fix(server/v2): redirect to ClientURL not PeerURL
...
If consistent is set you must redirect the client to the leader's
ClientURL not the PeerURL.
2013-12-02 18:20:11 -08:00
Xiang Li
fc562bd625
fix tests bump deps
2013-12-01 17:24:30 -05:00
Ben Johnson
22c2935ddb
Initial mod_lock acquire.
2013-11-27 16:59:05 -07:00
Xiang Li
a607c9eace
fix dep issue
2013-11-22 13:27:04 -08:00
Xiang Li
40a574a8ca
wip commit
2013-11-22 11:32:24 -08:00
Ben Johnson
15eee885d7
Merge branch 'master' of https://github.com/coreos/etcd into clean-up-config
2013-11-19 10:13:39 -07:00
Ben Johnson
8952c1bd42
Merge branch 'master' of https://github.com/coreos/etcd into clean-up-config
...
Conflicts:
etcd.go
2013-11-19 08:28:46 -07:00
Ben Johnson
cba2611c68
Renamed configuration parameters.
2013-11-15 00:13:32 -05:00
Xiang Li
4f45de6953
test fix wrong assumption should be previous index + 501 + 6
2013-11-14 20:22:25 -08:00
Xiang Li
e90937a2b4
tests loosen the ttl checking
2013-11-14 20:09:12 -08:00
Ben Johnson
954217fb73
Fix v1 cluster migration test.
2013-11-12 19:27:29 -05:00
Ben Johnson
ccc27a61f5
Merge branch '0.2' of https://github.com/coreos/etcd into migration-test
2013-11-12 17:29:58 -05:00
Xiang Li
5abbaf59e3
Merge pull request #292 from xiangli-cmu/fix-ttl
...
WIP: fix ttl
2013-11-11 21:30:32 -08:00
Ben Johnson
d8157472fe
Merge branch '0.2' of https://github.com/coreos/etcd into migration-test
2013-11-11 18:12:24 -05:00
Xiang Li
e427c85f03
refactor add debug info to remove_node test
2013-11-09 21:31:17 -08:00
Xiang Li
27157e5e78
fix tests
2013-11-09 21:17:32 -08:00
Brandon Philips
6a074d4f6f
chore(*.go): add copyright notice
2013-11-08 14:04:15 -08:00
Ben Johnson
8c6606ed12
Fix TTL migration issue.
2013-11-05 15:57:53 -07:00
Ben Johnson
d3bfc49b7c
Remove leading slash from handlers.
2013-11-04 14:36:20 -07:00
Ben Johnson
35d9719707
Add v1.solo migration fixture.
2013-11-04 13:56:02 -07:00
Ben Johnson
6b5d6ecd8b
Cluster migration test.
2013-11-04 13:46:43 -07:00
Ben Johnson
bf76af8fd1
Update migration.
2013-11-04 13:16:45 -07:00
Xiang Li
235ffc234d
refactor change cmd argument snapCount to snapshotCount
2013-11-03 21:06:51 -08:00
Xiang Li
52d5e05201
refactor use defer
2013-11-03 20:59:08 -08:00
Ben Johnson
44356dc654
Update migration script.
2013-11-03 16:02:59 -07:00
Ben Johnson
3a29ce4d17
Update migration.
2013-11-03 15:58:16 -07:00
Ben Johnson
02abbb6a6c
Migration test.
2013-11-03 15:49:00 -07:00
Xiang Li
c88a556917
test add snapshot tests
2013-10-30 19:41:21 -07:00
Xiang Li
9d0de611a7
feat add snapCount parameter
2013-10-30 17:36:15 -07:00