8a37349 | Gyu-Ho Lee | 04 November 2016, 17:54:14 UTC | version: bump to v3.0.14 | 04 November 2016, 17:54:14 UTC |
9a0e4df | Xiang Li | 03 November 2016, 02:36:07 UTC | ctlv3: fix migration | 03 November 2016, 16:47:41 UTC |
f60469a | Timothy St. Clair | 02 November 2016, 23:10:30 UTC | ctlv3: Add a no-ttl flag to etcdctl migrate to discard keys on transform. | 03 November 2016, 16:47:39 UTC |
932370d | Gyu-Ho Lee | 24 October 2016, 18:22:50 UTC | version: bump to v3.0.13+git | 24 October 2016, 18:22:50 UTC |
c99d0d4 | Gyu-Ho Lee | 24 October 2016, 18:04:43 UTC | version: bump to v3.0.13 | 24 October 2016, 18:04:43 UTC |
d78216f | Gyu-Ho Lee | 24 October 2016, 18:04:13 UTC | e2e: remove 'ctlV3GetFailPerm' | 24 October 2016, 18:04:13 UTC |
c05c027 | Hongchao Deng | 20 October 2016, 17:03:44 UTC | etcdctl: fix migrate in outputing client.Node to json Using printf will try to parse the string and replace special characters. In migrate code, we want to just output the raw json string of client.Node. For example, Printf("%\\") => %!\(MISSING) Print("%\\") => %\ Thus, we should use print instead. | 20 October 2016, 17:51:16 UTC |
3fd64f9 | Gyu-Ho Lee | 12 October 2016, 20:59:27 UTC | auth: fix return type on 'hasRootRole' | 12 October 2016, 20:59:27 UTC |
f935290 | Xiang Li | 12 October 2016, 17:42:55 UTC | mvcc: fix rev inconsistency Try: ./etcdctl put foo bar ./etcdctl del foo ./etcdctl compact 3 restart etcd ./etcdctl get foo mvcc: required revision has been compacted The error is unexpected when range over the head revision. Internally, we incorrectly set current revision smaller than the compacted revision when we remove all keys around compacted revision. This commit fixes the issue by recovering the current revision at least to compacted revision. | 12 October 2016, 20:08:26 UTC |
ca91f89 | Hitoshi Mitake | 06 September 2016, 02:32:25 UTC | auth, e2e, clientv3: the root role should be granted access to every key This commit changes the semantics of the root role. The role should be able to access to every key. Partially fixes https://github.com/coreos/etcd/issues/6355 | 11 October 2016, 19:19:46 UTC |
fcbada7 | Gyu-Ho Lee | 11 October 2016, 19:15:58 UTC | Merge pull request #6622 from luxas/backport_arm_fixes Backport arm fixes | 11 October 2016, 19:15:58 UTC |
fad9bdc | Jared Hulbert | 08 July 2016, 18:20:47 UTC | etcdserver: atomic access alignment Most fields accessed with sync/atomic functions are 64bit aligned, but a couple are not. This makes comments out of date and therefore misleading. Affected fields reordered, comments scrubbed and updated. | 11 October 2016, 08:48:43 UTC |
198ccb8 | Jared Hulbert | 08 July 2016, 18:13:53 UTC | raftpb: atomic access alignment The Entry struct has misaligned fields that are accessed atomically. The misalignment is caused by the EntryType enum which the Protocol Buffers spec forces to be a 32bit int. Moving the order of the fields without renumbering them in the .proto file seems to align the go structure without changing the wire format. | 11 October 2016, 08:48:43 UTC |
dc5d5c6 | Jared Hulbert | 08 July 2016, 18:05:41 UTC | raft: atomic access alignment The relevant structures are properly aligned, however, there is no comment highlighting the need to keep it aligned as is present elsewhere in the codebase. Adding note to keep alignment, in line with similar comments in the codebase. | 11 October 2016, 08:48:43 UTC |
f771eac | Gyu-Ho Lee | 07 October 2016, 23:42:12 UTC | version: bump to v3.0.12+git | 07 October 2016, 23:42:12 UTC |
2d1e2e8 | Gyu-Ho Lee | 07 October 2016, 22:14:25 UTC | version: bump to v3.0.12 | 07 October 2016, 22:14:25 UTC |
6412758 | Gyu-Ho Lee | 07 October 2016, 22:13:56 UTC | v3rpc: remove redundant locks | 07 October 2016, 22:13:56 UTC |
836c815 | Xiang Li | 07 July 2016, 22:01:05 UTC | v3rpc: lock progress and prevKV map correctly | 07 October 2016, 22:13:12 UTC |
e406e6e | Gyu-Ho Lee | 07 October 2016, 21:23:09 UTC | etcdctl/ctlv3: add 'prev-kv' flag to watch command | 07 October 2016, 21:23:09 UTC |
2fa2c62 | Gyu-Ho Lee | 07 October 2016, 21:22:58 UTC | clientv3: add 'prevKV' field to watch request | 07 October 2016, 21:22:58 UTC |
2862c4f | Gyu-Ho Lee | 07 October 2016, 21:22:19 UTC | v3rpc: implement 'prev-kv' watch | 07 October 2016, 21:22:19 UTC |
6f89fbf | Gyu-Ho Lee | 07 October 2016, 21:21:39 UTC | etcdserver: use mvcc.WatchableKV for prev-kv watch | 07 October 2016, 21:22:00 UTC |
6ae7ec9 | Gyu-Ho Lee | 07 October 2016, 21:21:19 UTC | *: regenerate proto | 07 October 2016, 21:21:19 UTC |
4a35b1b | Gyu-Ho Lee | 07 October 2016, 21:20:46 UTC | etcdserverpb: add 'prev_kb' to WatchCreateRequest | 07 October 2016, 21:20:46 UTC |
c859c97 | Gyu-Ho Lee | 07 October 2016, 21:19:59 UTC | mvccpb: add 'prev_kv' field | 07 October 2016, 21:19:59 UTC |
a091c62 | Gyu-Ho Lee | 07 October 2016, 20:25:21 UTC | version: bump to v3.0.11+git | 07 October 2016, 20:25:21 UTC |
96de94a | Gyu-Ho Lee | 07 October 2016, 18:27:48 UTC | version: bump to v3.0.11 | 07 October 2016, 18:27:48 UTC |
e9cd841 | Gyu-Ho Lee | 07 October 2016, 18:03:19 UTC | integration: add 'prevKV' to TestV3DeleteRange | 07 October 2016, 18:03:19 UTC |
e37ede1 | Gyu-Ho Lee | 07 October 2016, 18:00:48 UTC | etcdserver: handle 'PrevKV' | 07 October 2016, 18:00:48 UTC |
4420a29 | Gyu-Ho Lee | 07 October 2016, 17:56:06 UTC | etcdctl/ctlv3: add 'prev-kv' flag | 07 October 2016, 17:56:06 UTC |
0544d4b | Gyu-Ho Lee | 07 October 2016, 17:54:45 UTC | clientv3: add WithPrevKV OpOption | 07 October 2016, 17:54:45 UTC |
fe7379f | Gyu-Ho Lee | 07 October 2016, 17:51:01 UTC | clientv3: add Op.prevKV | 07 October 2016, 17:51:01 UTC |
c76df50 | Gyu-Ho Lee | 07 October 2016, 17:47:47 UTC | *: update proto to add 'prev_kv' | 07 October 2016, 17:47:47 UTC |
3299cad | Xiang Li | 06 July 2016, 00:08:09 UTC | *: add put prevkv | 07 October 2016, 17:39:08 UTC |
d9ab018 | Anthony Romano | 04 October 2016, 21:47:40 UTC | integration: test a canceled watch won't return a closing error | 05 October 2016, 21:19:36 UTC |
e853451 | Anthony Romano | 04 October 2016, 23:09:50 UTC | clientv3: only return closing error to watcher if context is not canceled Fixes #6503 | 05 October 2016, 21:19:32 UTC |
1becf9d | Anthony Romano | 05 October 2016, 16:36:06 UTC | clientv3: fix race on watch initial revision The initial revision was being updated in the substream goroutine defer; this was racing with the resume path fetching the initial revision when the substream closes during resume. Instead, update the initial revision whenever the substream processes a new watch response. Since the substream cannot receive a watch response while it is resuming, the write to the initial revision is ordered to always happen after the resume read. Fixes #6586 | 05 October 2016, 17:56:36 UTC |
1a712cf | Anthony Romano | 28 September 2016, 23:47:33 UTC | clientv3: make IsProgressNotify() false on compact event and closed channel Fixes #6549 | 04 October 2016, 22:13:02 UTC |
023f335 | Gyu-Ho Lee | 28 September 2016, 18:03:24 UTC | wal: set PageWriter offset in file encoder | 04 October 2016, 22:12:47 UTC |
bf0da78 | Gyu-Ho Lee | 28 September 2016, 16:41:24 UTC | pkg/ioutil: configure pageOffset in NewPageWriter | 04 October 2016, 22:12:46 UTC |
e847385 | Anthony Romano | 23 September 2016, 23:40:29 UTC | integration: test canceling watchers when disconnected | 04 October 2016, 22:12:37 UTC |
b836d18 | Anthony Romano | 23 September 2016, 23:47:25 UTC | clientv3: simplify watch synchronization Was more complicated than it needed to be and didn't really work in the first place. Restructured watcher registation to use a queue. | 04 October 2016, 22:12:18 UTC |
9b09229 | Gyu-Ho Lee | 23 September 2016, 18:13:45 UTC | version: bump to v3.0.10+git | 23 September 2016, 18:13:45 UTC |
546c0f7 | Gyu-Ho Lee | 23 September 2016, 17:49:03 UTC | version: bump to v3.0.10 | 23 September 2016, 17:49:03 UTC |
adbad1c | sharat | 16 September 2016, 15:57:22 UTC | ctlv3: close snapshot file before rename (Windows) | 23 September 2016, 16:11:02 UTC |
273b986 | Anthony Romano | 20 September 2016, 23:51:58 UTC | clientv3: process closed watcherStreams in watcherGrpcStream run loop Was racing with Watch() when closing the grpc stream on no watchers. Fixes #6476 | 21 September 2016, 22:52:20 UTC |
5b20572 | Gyu-Ho Lee | 16 September 2016, 12:54:55 UTC | rafthttp: add v3.0.0 to supported streams | 16 September 2016, 12:54:55 UTC |
fe900b0 | Anthony Romano | 15 September 2016, 22:10:23 UTC | version: bump to v3.0.9+git | 15 September 2016, 22:10:23 UTC |
494c012 | Anthony Romano | 15 September 2016, 19:56:33 UTC | version: bump to v3.0.9 | 15 September 2016, 19:56:33 UTC |
4abc381 | Anthony Romano | 07 September 2016, 00:13:05 UTC | clientv3: drain buffered WatchResponses before resuming Otherwise, the watcherStream can receive WatchResponses in the middle of a resume, corrupting the stream. Fixes #6364 | 15 September 2016, 19:38:15 UTC |
73c8fda | Anthony Romano | 15 September 2016, 18:45:37 UTC | integration: fix compilation for backported Election test | 15 September 2016, 18:45:37 UTC |
ee27174 | sharat | 08 September 2016, 20:28:33 UTC | ctlv3: fix line parsing for Windows | 15 September 2016, 18:25:53 UTC |
2435eb9 | Xiang Li | 14 September 2016, 05:52:16 UTC | clientv3: balancer panics when call up after close Fix the issue by adding a simple guard varable. | 15 September 2016, 09:46:26 UTC |
8fb533d | Anthony Romano | 13 September 2016, 02:49:22 UTC | embed: warn on domain name in listener | 15 September 2016, 09:46:19 UTC |
2f0f5ac | Anthony Romano | 13 September 2016, 02:45:35 UTC | Revert "Merge pull request #6365 from heyitsanthony/fix-dns-bind" This reverts commit af5ab7b3515cf023af7af94bc6e9063945802be0, reversing changes made to da6a0f0594f352539349013336614e08033a7eb3. | 15 September 2016, 09:43:46 UTC |
9ab811d | Jason E. Aten | 12 September 2016, 02:49:06 UTC | auth: fix range handling bugs. Test 15, counting from zero, in TestGetMergedPerms in etcd/auth/range_perm_cache_test.go, was trying incorrectly assert that [a, b) merged with [b, "") should be [a, b). Added a test specifically for this. This patch fixes the incorrect larger test and the bugs in the code that it was hiding. Fixes #6359 | 15 September 2016, 09:41:56 UTC |
e0a99fb | Anthony Romano | 09 September 2016, 22:54:56 UTC | version: bump to v3.0.8+git | 09 September 2016, 22:56:31 UTC |
d40982f | Anthony Romano | 09 September 2016, 20:14:44 UTC | version: bump to v3.0.8 | 09 September 2016, 20:14:44 UTC |
fe3a1cc | Gyu-Ho Lee | 09 September 2016, 00:11:25 UTC | wal: fix error type | 09 September 2016, 00:11:25 UTC |
7071370 | Gyu-Ho Lee | 09 September 2016, 00:07:48 UTC | wal: fix err shadowing (go vet) | 09 September 2016, 00:07:48 UTC |
0054e7e | Xiang Li | 07 September 2016, 03:12:35 UTC | etcdctl: restore should create a snapshot Restore should create a snasphot. So the new db file can be sent to newly joined member. | 09 September 2016, 00:03:51 UTC |
97f718b | Anthony Romano | 08 September 2016, 06:24:29 UTC | fileutil: windows OpenDir Windows needs to open a directory with write access to fsync but the go runtime won't open directories that way. | 09 September 2016, 00:01:56 UTC |
202da92 | Anthony Romano | 07 September 2016, 23:40:33 UTC | wal: fsync directory after wal file rename Fixes #6368 | 09 September 2016, 00:01:49 UTC |
6e83ec0 | Anthony Romano | 06 September 2016, 22:30:51 UTC | etcdmain: reject binding listeners to domain names Fixes #6336 | 06 September 2016, 23:08:35 UTC |
5c44cdf | Jason E. Aten | 03 September 2016, 17:28:32 UTC | etcdctl/ctlv3: don't crash when we should prompt for pw. when 'etcdctl --user name get blah' is invoked to prompt for password, don't panic. addresses the segfault part of #6343 | 04 September 2016, 00:02:50 UTC |
09a239f | Anthony Romano | 31 August 2016, 23:59:26 UTC | e2e: add quoted key/value to txn test | 04 September 2016, 00:02:47 UTC |
3faff8b | Anthony Romano | 31 August 2016, 20:54:45 UTC | etcdctl: fix quoted string handling in txn and watch Fixes #6315 | 04 September 2016, 00:02:28 UTC |
2345fda | Anthony Romano | 31 August 2016, 23:41:06 UTC | version: bump to v3.0.7+git | 31 August 2016, 23:41:06 UTC |
5695120 | Gyu-Ho Lee | 31 August 2016, 16:49:24 UTC | version: bump to v3.0.7 | 31 August 2016, 16:49:24 UTC |
183293e | Gyu-Ho Lee | 31 August 2016, 16:48:11 UTC | wal: lowercase segmentSizeBytes | 31 August 2016, 16:48:30 UTC |
4b48876 | Jason E. Aten | 28 August 2016, 05:58:57 UTC | clientv3/concurrency: allow election on prefixes of keys. After winning an election or obtaining a lock, we auto-append a slash after the provided key prefix. This avoids the previous deadlock due to waiting on the wrong key. Fixes #6278 Conflicts: clientv3/concurrency/election.go clientv3/concurrency/mutex.go | 31 August 2016, 16:46:05 UTC |
5089bf5 | Aaron Lehmann | 23 August 2016, 21:48:07 UTC | wal: hold file lock while renaming WAL directory on non-Windows Windows requires this lock to be released before the directory is renamed. But on unix-like operating systems, releasing the lock and trying to reacquire it immediately can be flaky if a process is forked around the same time. The file descriptors are marked as close-on-exec by the Go runtime, but there is a window between the fork and exec where another process will be holding the lock. | 31 August 2016, 16:39:57 UTC |
480a347 | Anthony Romano | 30 August 2016, 20:40:47 UTC | wal: use page buffered writer for writing records Forces torn writes to only happen on sector boundaries. Fixes #6271 | 31 August 2016, 04:06:36 UTC |
59e560c | Anthony Romano | 30 August 2016, 20:22:23 UTC | ioutil: add page buffered writer A buffered writer that only writes full pages or when explicitly flushed. | 31 August 2016, 04:06:33 UTC |
0bd9bea | Xiang Li | 30 August 2016, 17:43:36 UTC | etcdserver: allow zero kv index for cluster upgrade If a user upgrades etcd from 2.3.x to 3.0 and shutdown the cluster immediately without triggering any new backend writes, then the consistent index in backend would be zero. The user cannot restart etcdserver due to today's strick index match checking. We now have to lose this a bit for this case. | 31 August 2016, 04:05:20 UTC |
bd7581a | Anthony Romano | 25 August 2016, 20:23:36 UTC | wal: zero out wal tail past its first zero record Whenever the WAL is opened for writes, it should write zeroes to its tail starting from the first zero record. Otherwise, if there are entries past the first zero record due to a torn write, any new writes that overlap the old entries will lead to a garbage record on the tail and cause a CRC mismatch. | 26 August 2016, 21:27:53 UTC |
db378c3 | Anthony Romano | 25 August 2016, 20:16:00 UTC | wal: test for truncation on torn writes | 26 August 2016, 21:27:51 UTC |
2374016 | Anthony Romano | 25 August 2016, 20:15:13 UTC | fileutil: add ZeroToEnd for zeroing files | 26 August 2016, 21:27:49 UTC |
96422a9 | Anthony Romano | 24 August 2016, 01:03:03 UTC | discovery: reject IP address records in SRVGetCluster Was incorrectly trimming the trailing '.' from the target; this in turn caused the etcd server to accept any SRV record with an IP target instead of only targets with A records. | 24 August 2016, 16:14:47 UTC |
6fd996f | Gyu-Ho Lee | 19 August 2016, 19:38:13 UTC | version: bump to v3.0.6+git | 19 August 2016, 19:38:13 UTC |
9efa00d | Gyu-Ho Lee | 19 August 2016, 19:03:02 UTC | version: bump to v3.0.6 | 19 August 2016, 19:03:02 UTC |
72d30f4 | Xiang Li | 05 August 2016, 03:39:32 UTC | *: minor cleanup for lease | 19 August 2016, 18:53:38 UTC |
2e92779 | Xiang Li | 04 August 2016, 18:17:56 UTC | mvcc: attach keys to leases after recover all state The previous logic is wrong. When we have hisotry like Put(foo, bar, lease1), and Put(foo, bar, lease2), we will end up with attaching foo to two leases 1 and 2. Similar things can happen for deattach by clearing the lease of a key. Now we try to fix this by starting to attach leases at the end of the recovery. We use a map to keep the last lease attachment state. | 19 August 2016, 18:49:05 UTC |
404415b | Xiang Li | 04 August 2016, 15:35:15 UTC | lease: do lease delection in the kv txn | 19 August 2016, 18:49:05 UTC |
07e421d | Xiang Li | 04 August 2016, 15:06:33 UTC | lease: delete kvs in a txn | 19 August 2016, 18:49:05 UTC |
a7d6e29 | Xiang Li | 04 August 2016, 15:06:19 UTC | etcdserver: always recover lessor first | 19 August 2016, 18:49:05 UTC |
1a8b295 | Gyu-Ho Lee | 19 August 2016, 18:46:51 UTC | vendor: update grpc/grpc-go for clientconn patch | 19 August 2016, 18:46:51 UTC |
ffc45cc | Anthony Romano | 15 August 2016, 01:55:08 UTC | rafthttp: fix race between streamReader.stop() and connection closer | 19 August 2016, 18:45:39 UTC |
0db1ba8 | Gyu-Ho Lee | 19 August 2016, 18:11:10 UTC | version: bump to v3.0.5+git | 19 August 2016, 18:11:10 UTC |
43f7c94 | Gyu-Ho Lee | 19 August 2016, 17:20:37 UTC | version: bump to v3.0.5 | 19 August 2016, 17:20:37 UTC |
93d13fb | Hongchao Deng | 18 August 2016, 20:25:17 UTC | integration: NewClusterV3 should launch cluster before creating clients | 18 August 2016, 21:54:45 UTC |
6a1e3e7 | Gyu-Ho Lee | 18 August 2016, 21:41:34 UTC | vendor: boltdb/bolt v1.3.0 for Go 1.7 In case somebody wants to build this branch with Go 1.7 | 18 August 2016, 21:41:34 UTC |
ec576ee | Xiang Li | 10 August 2016, 17:50:53 UTC | mvcc: fix count | 16 August 2016, 19:13:33 UTC |
606d79a | Anthony Romano | 13 August 2016, 04:16:09 UTC | clientv3: use failfast and retry wrappers for at-most-once rpcs | 16 August 2016, 19:12:44 UTC |
f4d15a4 | Anthony Romano | 16 August 2016, 17:16:38 UTC | integration: treat client TLS connecting to insecure server as timeout | 16 August 2016, 19:09:42 UTC |
4a84145 | Anthony Romano | 01 July 2016, 18:29:37 UTC | clientv3: respect up/down notifications from grpc Fixes #5842 | 16 August 2016, 19:09:38 UTC |
ee8c577 | Gyu-Ho Lee | 16 August 2016, 19:09:16 UTC | vendor: update grpc | 16 August 2016, 19:09:16 UTC |
8ae0f94 | Anthony Romano | 12 August 2016, 16:42:18 UTC | clientv3: only block on New() when DialTimeout > 0 Fixes #6162 | 12 August 2016, 19:03:33 UTC |
69a9786 | Anthony Romano | 10 August 2016, 02:28:16 UTC | clientv3: handle watchGrpcStream shutdown if prior to goroutine start Fixes #6141 | 10 August 2016, 03:59:09 UTC |
12c7e4a | Anthony Romano | 09 August 2016, 07:08:28 UTC | clientv3: close watcher stream once all watchers detach Fixes #6134 | 09 August 2016, 17:44:21 UTC |