Gyuho Lee
69f7e11506
*: move "error" to "etcdserver/v2error"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 17:11:40 -08:00
Gyuho Lee
b24d81c30d
scripts: remove "internal"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 17:11:40 -08:00
Gyuho Lee
8a518b01c4
*: revert "internal/mvcc" change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 17:11:40 -08:00
Gyuho Lee
9b5d6edc4b
*: revert "internal/raftsnap"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 17:11:40 -08:00
Gyuho Lee
0e12e888e0
*: move "internal/store" to "etcdserver/v2store"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 17:11:40 -08:00
Gyuho Lee
dd2f3b0de8
*: revert "internal/lease" change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 17:11:40 -08:00
Gyuho Lee
bb95d190c1
*: revert "internal/auth" change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 17:11:40 -08:00
Gyuho Lee
0850ccbf45
*: revert "internal/version" change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 17:11:40 -08:00
Gyuho Lee
0e65660548
*: revert "internal/discovery" change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 17:11:40 -08:00
Gyuho Lee
19010a7182
*: revert "internal/alarm" change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 17:11:40 -08:00
Gyuho Lee
6bbe107225
*: revert "internal/compactor" package change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 17:11:40 -08:00
Gyuho Lee
d6b46ac969
Merge pull request #9279 from gyuho/force-new-cluster
...
Documentation/op-guide: discourage "--force-new-cluster" in recovery
2018-02-26 15:52:42 -08:00
Gyuho Lee
01193ce5e4
Merge pull request #9363 from gyuho/build-compile
...
build: fix compile pass
2018-02-26 12:47:58 -08:00
Gyuho Lee
209c820ffa
build: ignore "shellcheck disable=SC2086"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 12:33:29 -08:00
Gyuho Lee
e1001f9349
build: fix compile pass
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 11:37:48 -08:00
Gyuho Lee
04e932ba6f
Merge pull request #9347 from gyuho/raft-force-new-cluster
...
etcdserver: enable "CheckQuorum" when starting with "ForceNewCluster"
2018-02-26 11:28:56 -08:00
Gyuho Lee
53825417d5
Merge pull request #9361 from gyuho/language
...
Documentation: make "Consul" section more objective
2018-02-26 11:09:11 -08:00
Gyuho Lee
7d7ae8642a
Documentation: make "Consul" section more objective
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 10:28:41 -08:00
Gyuho Lee
247473be09
Merge pull request #9362 from gyuho/spell-check
...
*: fix minor lint warnings
2018-02-26 10:19:17 -08:00
Gyuho Lee
8bf0c43b73
Merge pull request #9267 from gyuho/member-add-test
...
snapshot: fix "TestSnapshotV3RestoreMultiMemberAdd"
2018-02-26 10:08:49 -08:00
Gyuho Lee
ebfba72715
client: fix "ineffassign" warning
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 10:07:18 -08:00
Gyuho Lee
9c9d846959
clientv3util: fix govet warning
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 10:05:24 -08:00
Gyuho Lee
ab33978646
etcd-tester: fix spell check warnings
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 10:03:54 -08:00
Gyuho Lee
bab0223f04
ctlv3: fix typo in check command
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 10:03:43 -08:00
Gyuho Lee
d808b4686c
raft: fix typo in raft_test.go
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-26 10:03:25 -08:00
Gyuho Lee
d4aeb3b8cf
Merge pull request #9356 from mkumatag/fix_gopath
...
test, build: Fix gopath creation
2018-02-26 07:38:22 -08:00
Manjunath A Kumatagi
adf4e05079
test, build: Fix gopath creation
2018-02-26 04:21:06 -05:00
Sam Batschelet
3239641a0c
Merge pull request #9350 from JulianGindi/grpc-doc-update
...
documentation: updated grpc documentation
2018-02-25 19:57:14 -05:00
Gyuho Lee
c751fdf5e8
Merge pull request #9351 from spzala/compactdefragdatascal
...
etcdctl/check: enable auto compact and defrag for check datascale
2018-02-25 11:00:54 -08:00
Gyuho Lee
2dd1a99f42
Merge pull request #9345 from gyuho/raft-step-candidate
...
raft: clarify candidate message handling, test candidate to follower transition with message from leader
2018-02-25 10:58:05 -08:00
Sahdev P. Zala
fc30b9844a
etcdctl/check: enable auto compact and defrag for check datascale
...
Running check datascale can create large history of keyspaces and
internal fragmentation. Allow user to run auto compact and defrag
when run check datascale.
2018-02-23 18:12:54 -05:00
Julian Gindi
58776fbc10
documentation: updated grpc documentation
...
I noticed that the docs mention the grpc proxy will listen on port 8080,
but the above example is explicitly telling it to listen on 2379.
Removing confusion.
2018-02-23 13:35:18 -08:00
Gyuho Lee
69357adf33
etcdserver: enable "CheckQuorum" when starting with "ForceNewCluster"
...
We enable "raft.Config.CheckQuorum" by default in other
Raft initial starts. So should start with "ForceNewCluster".
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-23 00:26:42 -08:00
Gyuho Lee
01db389ea8
raft: document why reuse candidate's term for vote response in stepCandidate
...
"stepCandidate" should reuse candidate's own term, not term in Message,
because pre-vote is requested with future term.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-21 16:11:01 -08:00
Gyuho Lee
38846c220a
raft: use leader's term when candidate becomes follower
...
`raft.Step` already ensures that when `m.Term > r.Term`,
candidate reverts back to follower with its term being
reset with `m.Term`, thus it's always true that
`m.Term == r.Term` in `stepCandidate`.
This just makes `r.becomeFollower` calls consistent.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-21 16:10:52 -08:00
Gyuho Lee
4fd378ee80
Merge pull request #9343 from gyuho/vvv
...
*: fix govet -shadow warnings
2018-02-21 10:53:04 -08:00
Gyuho Lee
32ea82cd3f
etcd-runner: fix govet -shadow warning
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-21 10:22:12 -08:00
Gyuho Lee
c0910085f5
ctlv2: fix govet -shadow warning
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-21 10:20:54 -08:00
Gyuho Lee
e88bf42966
Merge pull request #9339 from gyuho/fix-embed-auto-compact
...
embed: fix revision-based compaction with default value
2018-02-21 07:40:35 -08:00
Gyuho Lee
83d1c3d5ec
embed: fix revision-based compaction with default value
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-20 17:21:07 -08:00
Gyuho Lee
4aa0320439
embed: document/validate compaction mode
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-20 17:18:48 -08:00
Gyuho Lee
df4aafbbdf
Merge pull request #9334 from gyuho/go-1.10
...
*: upgrade to Go 1.10
2018-02-20 13:22:59 -08:00
Gyuho Lee
089ac72a7c
CHANGELOG: add Go 1.10+ for 3.4
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-20 13:21:56 -08:00
Gyuho Lee
e19df692f8
Merge pull request #9185 from spzala/checkdatabase
...
etcdctl/check: create new check command for memory usage
2018-02-20 11:25:58 -08:00
Gyuho Lee
8b763c64b5
README: require Go 1.10+
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-19 02:27:37 -08:00
Gyuho Lee
ca1885cf1d
tools/functional-tester: use Go 1.10
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-19 02:27:37 -08:00
Gyuho Lee
e9b14788cc
hack/scripts-dev: use Go 1.10 in Makefile
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-19 02:27:37 -08:00
Gyuho Lee
2dd08a08ae
semaphore.sh: use Go 1.10
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-19 02:27:37 -08:00
Gyuho Lee
af4e092e32
travis: use Go 1.10
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-02-19 02:27:37 -08:00
Xiang Li
0b5c660c1d
Merge pull request #9336 from rkd-msw/iss_9335_fix
...
httpproxy: cancel requests when client closes a connection
2018-02-18 12:14:14 -08:00