Gyuho Lee
c2b3c54370
raft: fix link typo
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-09-06 09:20:22 -07:00
Gyuho Lee
1c80ce4b29
Merge pull request #10070 from philips/add-more-projects
...
Please read https://github.com/etcd-io/etcd/blob/master/CONTRIBUTING.md#contribution-flow .
2018-09-05 20:02:49 -07:00
Brandon Philips
085a5bd2f8
Documentation: add more projects
2018-09-05 19:55:31 -07:00
Xiang Li
cf3f79a04d
Merge pull request #10069 from philips/add-more-projects
...
Documentation: add new projects
2018-09-05 19:33:50 -07:00
Brandon Philips
16ad8b48bd
Documentation: add new projects
...
A number of projects using etcd were missing. Add.
2018-09-05 19:30:08 -07:00
Sam Batschelet
8b66718529
Merge pull request #10067 from hexfusion/fx_ddb_doc
...
tools/etcd-dump-db: fix iterate-bucket example.
2018-09-05 22:07:03 -04:00
Sam Batschelet
d43f223e36
tools/etcd-dump-db: fix iterate-bucket example.
2018-09-05 20:41:42 -04:00
Gyuho Lee
1df1ddff43
Merge pull request #10066 from mrIncompetent/use-testing-interface
...
Use testing.TB for integration test helpers to enable usage in benchmarks
2018-09-04 14:04:06 -07:00
mrIncompetent
2be5994f61
integration: Replace *testing.T with testing.TB
...
Use testing.TB for integration test helpers to enable usage in benchmarks
2018-09-04 22:34:40 +02:00
Tobias Schottdorf
7a8ab37bfd
raft: fix correctness bug in CommittedEntries pagination
...
In #9982 , a mechanism to limit the size of `CommittedEntries` was
introduced. The way this mechanism worked was that it would load
applicable entries (passing the max size hint) and would emit a
`HardState` whose commit index was truncated to match the limitation
applied to the entries. Unfortunately, this was subtly incorrect
when the user-provided `Entries` implementation didn't exactly
match what Raft uses internally. Depending on whether a `Node` or
a `RawNode` was used, this would either lead to regressing the
HardState's commit index or outright forgetting to apply entries,
respectively.
Asking implementers to precisely match the Raft size limitation
semantics was considered but looks like a bad idea as it puts
correctness squarely in the hands of downstream users. Instead, this
PR removes the truncation of `HardState` when limiting is active
and tracks the applied index separately. This removes the old
paradigm (that the previous code tried to work around) that the
client will always apply all the way to the commit index, which
isn't true when commit entries are paginated.
See [1] for more on the discovery of this bug (CockroachDB's
implementation of `Entries` returns one more entry than Raft's when the
size limit hits).
[1]: https://github.com/cockroachdb/cockroach/issues/28918#issuecomment-418174448
2018-09-04 14:52:23 +02:00
Xiang Li
6143c135bd
Merge pull request #10060 from vimalk78/go.etcd.io-move-minor-changes
...
*: path changes for moving to github/etcd-io/etcd
2018-09-03 13:48:01 -07:00
Vimal K
bcde798fdd
*: path changes for moving to github/etcd-io/etcd
2018-09-03 21:57:23 +05:30
Xiang Li
ca7dc4ff26
Merge pull request #10058 from vimalk78/9882-contrib-queue-memleak
...
contrib/recipes/watch.go : cancel() the watch after desired watch event
2018-09-01 08:34:29 -07:00
Vimal K
9bad6fd442
contrib/recipes/watch.go : cancel() the watch after desired watch event
...
fixes #9882
2018-09-01 18:18:24 +05:30
Gyuho Lee
206b012ed4
Merge pull request #10057 from jglick/patch-1
...
Use IPA notation for pronunciation of etcd
2018-08-31 07:10:53 -07:00
Jesse Glick
abd1b34ba6
docs: fix pronunciation notation
2018-08-31 07:09:46 -07:00
Gyuho Lee
484f622034
Merge pull request #10054 from vcaesar/docs-pr
...
client,clientv3: update client docs to "go.etcd.io"
2018-08-30 16:44:16 -07:00
vcaesar
fc7ef659cc
client,clientv3: update client docs to "go.etcd.io"
2018-08-30 19:26:12 -04:00
Gyuho Lee
b6e6de54e9
Merge pull request #10053 from ueokande/fix-clientv3-doc
...
clientv3/doc: Fix code example
2018-08-30 15:28:33 -07:00
Shin'ya UEOKA
e9afd51f47
clientv3/doc: Fix code example
2018-08-30 22:10:58 +00:00
Gyuho Lee
d627719881
Merge pull request #10050 from gyuho/bbolt
...
vendor: use "go.etcd.io/bbolt" v1.3.1-etcd.7
2018-08-30 10:20:53 -07:00
Gyuho Lee
34fcabab55
CHANGELOG: add all recent changes
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 14:53:41 -07:00
Gyuho Lee
572d486c5b
*: update github links
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 14:28:36 -07:00
Gyuho Lee
e235cd3302
Documentation: update github links
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 14:28:00 -07:00
Gyuho Lee
474cc300c9
bill-of-materials: regenerate with "go.etcd.io/bbolt"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 13:33:05 -07:00
Gyuho Lee
fa57f7fbc7
vendor: use "go.etcd.io/bbolt" v1.3.1-etcd.7
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 12:39:59 -07:00
Gyuho Lee
790cc3cdd6
Gopkg.lock: use "go.etcd.io/bbolt" v1.3.1-etcd.7
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 12:34:22 -07:00
Gyuho Lee
8db439d693
*: use "go.etcd.io/bbolt"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 12:31:28 -07:00
Gyuho Lee
5adbc231f2
mvcc/backend: use "go.etcd.io/bbolt"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 12:31:04 -07:00
Gyuho Lee
1a282a72be
Merge pull request #10045 from gyuho/go-1.11
...
*: use Go 1.11 for tests
2018-08-28 23:02:43 -07:00
Gyuho Lee
839f202195
clientv3/integration: fix race condition from closing channel
...
Go 1.11 now marks len(channel) over being-closed channel
as racey operation, fix tests by receiving from channel first
and then check the length of channel.
```
WARNING: DATA RACE
Write at 0x00c000e872c0 by goroutine 198:
runtime.closechan()
/usr/local/go/src/runtime/chan.go:327 +0x0
go.etcd.io/etcd/clientv3.(*lessor).closeRequireLeader()
/Users/leegyuho/go/src/go.etcd.io/etcd/clientv3/lease.go:379 +0x748
go.etcd.io/etcd/clientv3.(*lessor).recvKeepAliveLoop()
/Users/leegyuho/go/src/go.etcd.io/etcd/clientv3/lease.go:455 +0x3a5
Previous read at 0x00c000e872c0 by goroutine 27:
go.etcd.io/etcd/clientv3/integration.TestLeaseWithRequireLeader()
/Users/leegyuho/go/src/go.etcd.io/etcd/clientv3/integration/lease_test.go:828 +0x810
testing.tRunner()
/usr/local/go/src/testing/testing.go:827 +0x162
```
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 22:27:11 -07:00
Gyuho Lee
07fcc26799
*: fix gofmt warnings with Go 1.11
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 21:45:24 -07:00
Gyuho Lee
8560221091
etcdserver: fix gofmt warnings with Go 1.11
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 21:45:12 -07:00
Gyuho Lee
d24acedb5e
travis.yml: bump up to Go 1.11
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 21:29:01 -07:00
Gyuho Lee
a0cc409352
Makefile: bump up to Go 1.11
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 21:28:41 -07:00
Gyuho Lee
e52b8611ea
docs: update links to "go.etcd.io"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 20:54:35 -07:00
Gyuho Lee
02b94fcc0d
test: fix "license-bill-of-materials" command
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 20:53:28 -07:00
Gyuho Lee
e8b940f268
Merge pull request #10044 from gyuho/rename-import-paths
...
*: rename import paths to "go.etcd.io/etcd"
2018-08-28 19:44:27 -07:00
Gyuho Lee
8f3900ffe1
bill-of-materials.json: regenerate
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 18:43:18 -07:00
Gyuho Lee
c0f6597c02
contrib/systemd: remove v2 service files
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 18:35:01 -07:00
Gyuho Lee
0ef9ef3c74
*: rerun "gofmt"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 18:25:39 -07:00
Gyuho Lee
379a1869c5
tests/Dockerfile: update import path to "go.etcd.io/etcd"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 18:07:41 -07:00
Gyuho Lee
2774bb3212
Revert "*: regenerate proto"
...
This reverts commit 299178ceb9d1afe3779ef9953682f9d972f72685.
2018-08-28 17:56:14 -07:00
Gyuho Lee
f2f7fc23f7
*: update github.com links
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 17:47:56 -07:00
Gyuho Lee
299178ceb9
*: regenerate proto
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 17:47:55 -07:00
Gyuho Lee
f3af3d83c2
Makefile: update import paths to "go.etcd.io"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 17:47:55 -07:00
Gyuho Lee
198a931a0b
MAINTAINERS: update import path to "go.etcd.io"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 17:47:55 -07:00
Gyuho Lee
a8a3efd27a
scripts: update import paths in "go.etcd.io/etcd"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 17:47:55 -07:00
Gyuho Lee
c69c044026
Documentation: update import paths in "dl_build.md"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 17:47:55 -07:00
Gyuho Lee
7300bfdd1d
build.ps1: update import paths to "go.etcd.io/etcd"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 17:47:55 -07:00