Commit Graph

16161 Commits (3082a7d52119960a2bdc0c60566186c54df9bc35)

Author SHA1 Message Date
CFC4N 3082a7d521
etcdserver/api/v2store: fix race in TestIssue2746WithThree (#11982) 2020-06-09 19:11:08 -07:00
Ankur Gargi 133b0c2b04
Use http constant instead of a number (#11975)
* embed: Use http constant instead of a number

* embed: Use http constant instead of a number

* embed: Replaced a number with Go http constant
2020-06-09 19:08:38 -07:00
Sahdev Zala 84a5ff2d97
Merge pull request #11962 from spzala/incorrectflag
logging: create logger to prevent nil pointer
2020-06-09 14:34:22 -04:00
Sahdev Zala 1647889253
Merge pull request #11936 from wswcfan/update-3.2-changelog-for-11691
CHANGELOG: update 3.2 changelog and 3.3 upgrade document for #11691
2020-06-09 11:38:13 -04:00
Gyuho Lee 1c1029ecba
Merge pull request #11990 from tangcong/add-limit-for-revisions
mvcc: push down RangeOptions.limit argv into index tree to reduce memory overhead
2020-06-08 21:31:51 -07:00
shawwang f3deba09b4 CHANGELOG: update 3.2 changelog and 3.3 upgrade document for #11691 2020-06-09 11:39:46 +08:00
tangcong 1677fd80a5 CHANGELOG: update for 11990 2020-06-09 01:11:11 +08:00
tangcong 26c930f27d mvcc: push down RangeOptions.limit argv into index tree 2020-06-09 01:11:06 +08:00
Gyuho Lee 6e6f22db43 vendor: add missing failpoint
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-06-07 22:25:55 -07:00
Sahdev Zala 49f91d629a
Merge pull request #11945 from polyrabbit/fix-permission-on-Windows
pkg: Fix dir permission check on Windows
2020-06-04 18:16:48 -04:00
Gyuho Lee 570e55db65 functional/agent: fmt
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-06-03 17:41:34 -07:00
Gyuho Lee 237c8b528b
Merge pull request #11913 from jpbetz/gofail-startup
Persist failpoints across member restart
2020-06-03 17:41:17 -07:00
Gyuho Lee 62f1fefe4a
Merge pull request #11959 from tedyu/store-clone-rd-lock
etcdserver: take read lock when cloning store
2020-06-03 14:13:53 -07:00
Gyuho Lee a09533d63d
Merge pull request #11960 from tedyu/internal-create-err-chk
etcdserver: check error return for store#internalCreate
2020-06-03 14:13:19 -07:00
Gyuho Lee be0639090d
Merge pull request #11939 from tedyu/chk-ret-from-write
etcdserver: check the error return from Write()
2020-06-03 14:12:50 -07:00
Sahdev P. Zala 659fb01a6c logging: create logger to prevent nil pointer
Create a new logger if one not found.
2020-06-02 09:53:35 -04:00
Ted Yu 5c95114190 etcdserver: check the error return from Write()
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-31 09:27:01 -07:00
Ted Yu 17483944fc etcdserver: check error return for store#internalCreate
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-31 09:20:05 -07:00
Ted Yu 59ec251812 etcdserver: take read lock when cloning store
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-31 09:08:26 -07:00
Gyuho Lee 09fcf55ca4
Merge pull request #11845 from xiang90/tcp_proxy
etcdmain: best effort detection of self pointing in tcp proxy
2020-05-31 00:57:49 -07:00
Gyuho Lee b2d228641a
Merge pull request #11905 from tedyu/node-tick-read
raft: avoid data race by not reading raft.lead
2020-05-31 00:57:01 -07:00
Gyuho Lee 8af52dc0e7
Merge pull request #11935 from tangcong/save-cindex-for-lease
lease: ensure grant/revoke won't be applied repeatedly after restarting etcd
2020-05-31 00:56:12 -07:00
Gyuho Lee 29a0c5f221
Merge pull request #11957 from gyuho/build-scripts
*: remove old gitignore and build functions
2020-05-31 00:53:40 -07:00
Gyuho Lee ab65285418 vendor: regenerate
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-30 14:36:18 -07:00
Gyuho Lee 72a26d0797 vendor/modules.txt: regenerate
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-30 14:36:09 -07:00
Gyuho Lee a48706ecfb *: remove old gitignore and build functions
Not needed since we are now using go module.

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-30 14:35:34 -07:00
Gyuho Lee 9b6c3e3378
Merge pull request #11946 from crawshaw/crawshaw/nofsync
etcdserver, et al: add --unsafe-no-fsync flag
2020-05-27 09:00:31 -07:00
Changxin Miao e06006ea28 pkg: Fix dir permission check on Windows 2020-05-26 11:15:25 +08:00
David Crawshaw 66cb045d47 etcdserver, et al: add --unsafe-no-fsync flag
This makes it possible to run an etcd node for testing and development
without placing lots of load on the file system.

Fixes #11930.

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2020-05-26 09:21:49 +10:00
Sahdev Zala 747ff75c96
Merge pull request #11942 from tedyu/client-3-cancel
clientv3: cancel the client if there is no endpoint
2020-05-24 15:55:53 -04:00
Ted Yu dafd474677 clientv3: cancel the client if there is no endpoint
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-23 13:35:17 -07:00
Gyuho Lee e007d4f58d
Merge pull request #11938 from tedyu/mk-v2-evt-nil
Check events against nil
2020-05-22 13:38:53 -07:00
Ted Yu df57a68b47 Check events against nil
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-22 13:35:25 -07:00
Gyuho Lee 4c9571d909
Merge pull request #11933 from needkane/PR
etcdserver: Missing the cfg.Logger causes panic
2020-05-22 09:23:27 -07:00
tangcong 426dba8628 CHANGELOG: update for 11935 2020-05-22 21:47:37 +08:00
tangcong e9ae8eb5a1 *: ensure grant/revoke won't be applied repeatedly after restarting etcd 2020-05-22 21:47:24 +08:00
needkane c8ae694dea etcdserver: Missing the cfg.Logger causes panic 2020-05-22 03:42:44 -04:00
Gyuho Lee a4ada8cb1f
Merge pull request #11922 from tedyu/non-recursive-watch
clientv3: non-recursive Watch()
2020-05-20 20:36:09 -07:00
Ted Yu f976138186 clientv3: non-recursive watch
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-20 15:44:41 -07:00
Gyuho Lee f8ee908330
Merge pull request #11921 from tedyu/client-watch-lock
clientv3: use Mutex for watcher lock
2020-05-20 14:56:23 -07:00
Gyuho Lee 5f9bb45e39 CHANGELOG: highlight WAL fix with github issue, add 3.3/3.4 patch release
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-20 11:49:14 -07:00
Gyuho Lee cac53867ac rafthttp: log snapshot download
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-20 10:55:43 -07:00
Gyuho Lee 188c66ada8
Merge pull request #11924 from tangcong/fix-crc-mismatch
wal: fix crc mismatch crash bug
2020-05-20 10:30:40 -07:00
tangcong 02b9ad3939 wal: add TestValidSnapshotEntriesAfterPurgeWal testcase 2020-05-21 00:51:53 +08:00
tangcong 8450b16e1c CHANGELOG: update for 11924 2020-05-21 00:51:49 +08:00
tangcong 1836cbb15e wal: fix crc mismatch crash bug 2020-05-20 13:21:07 +08:00
Ted Yu 35d026246c clientv3: use Mutex for watcher lock
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-19 19:20:44 -07:00
Joe Betz 4869b6c9aa Persist failpoints across member restart 2020-05-18 14:14:02 -07:00
Gyuho Lee 732df43cf8 CHANGELOG: update dates
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-18 10:57:53 -07:00
Gyuho Lee 1fd1318409 etcdserver/api/rafthttp: improve snapshot send logging
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-18 02:29:20 -07:00