Sahdev Zala
91a5089d17
Merge pull request #13288 from ben1009/etcd-wal-doc
...
doc, log: fix typo in wal doc, log
2021-09-06 19:47:44 -04:00
Hitoshi Mitake
2a750a8dba
*: implement a retry logic for auth old revision in the client
2021-09-05 01:13:52 +09:00
Eduardo Patrocinio
87f1dc7e40
Fix a few typos
2021-09-03 16:09:09 -04:00
leoyang.yl
ceb23c9d9b
rw benchmark add val-size
2021-09-02 21:11:19 +08:00
ben1009
af10e8791f
fix typo in wal doc, log:
...
- fix logs in wal Repair
- unify broken file name to val
2021-08-31 11:59:05 +08:00
Sam Batschelet
a4a82cc982
Merge pull request #13248 from lilic/add-sampling-rate
...
server: Add sampling rate to distributed tracing
2021-08-30 08:31:00 -04:00
Lili Cosic
810f489017
server: Add sampling rate to distributed tracing
...
ExperimentalDistributedTracingSamplingRatePerMillion is the
number of samples to collect per million spans.
Defaults to 0.
2021-08-30 13:55:35 +02:00
Tero Saarni
af626ebfde
client/pkg/v3: fixes Solaris build of transport
...
Add empty implementation for reuse port socket option since Solaris does not
support SO_REUSEPORT.
2021-08-30 11:44:02 +03:00
Hitoshi Mitake
ef81030105
Merge pull request #13262 from r-ashish/main
...
client/v3: refresh the token when ErrUserEmpty is received while retrying
2021-08-26 22:36:19 +09:00
Ashish Ranjan
6d300fd38b
client/v3: refresh the token when ErrUserEmpty is received while retrying
...
To fix a bug in the retry logic caused when the auth token is cleared after receiving `ErrInvalidAuthToken` from the server and the subsequent call to `getToken` also fails due to some reason (eg. context deadline exceeded).
This leaves the client without a token and the retry will continue to fail with `ErrUserEmpty` unless the token is refreshed.
2021-08-25 11:27:19 +08:00
Sahdev Zala
6a32bbad75
Merge pull request #13239 from sakateka/zap_raft
...
etcdserver: add zap.AddCallerSkip in NewRaftLoggerZap
2021-08-21 14:11:05 -04:00
Sahdev Zala
4739d3e9d3
Merge pull request #13252 from yuzhiquan/fix-always-true-or-false
...
etcdserver: remove always true or false in if statement
2021-08-21 14:09:43 -04:00
Sahdev Zala
ab9563dc8e
Merge pull request #13290 from spzala/benchmarkput
...
Benchmark: remove redundant function call
2021-08-16 12:12:20 -04:00
Sahdev Zala
55525e3cc5
Benchmark: remove redundant function call
...
Remove the redundancy as HashKV func is being called twice.
2021-08-12 09:56:38 -04:00
Sahdev Zala
ea24fb8507
Merge pull request #13282 from yuzhiquan/fix-typo-migrate
...
migrate_command: Fix typo in migrate
2021-08-09 11:48:10 -04:00
yuzhiquan
d0b9572fde
fix typo in migrate
2021-08-09 17:55:43 +08:00
Sahdev Zala
706f256a05
Merge pull request #13279 from dengziming/typo
...
MINOR: Fix typos(hearbeat -> heartbeat)
2021-08-08 18:07:52 -04:00
dengziming
a286f5bb99
MINOR: Fix typos(hearbeat -> heartbeat)
2021-08-07 11:41:13 +08:00
Sahdev Zala
03ffa76db7
Merge pull request #13278 from mrueg/cleanup-todos
...
Cleanup remaining TODOs for/past 3.5 release
2021-08-06 10:51:51 -04:00
Manuel Rüger
c9b4c866ce
Cleanup remaining TODOs for/past 3.5 release
2021-08-06 13:29:25 +02:00
Piotr Tabor
873f3691f1
Merge pull request #13216 from serathius/wal
...
Annotate proto messages with version and detect etcd version generated the wal
2021-08-06 10:58:57 +02:00
Sam Batschelet
b448daa698
Merge pull request #13275 from lilic/add-peer-dashboard
...
contrib/mixin/mixin.libsonnet: Add dashboard for peer round trip time
2021-08-05 08:27:38 -04:00
Lili Cosic
55b697c528
contrib/mixin/mixin.libsonnet: Add dashboard for peer round trip time
...
This helps users debug firing alerts.
2021-08-05 13:15:34 +02:00
Piotr Tabor
e591fcba33
Merge pull request #13220 from serathius/migrateforce
...
etcdutl: Implement migrate --force command
2021-08-04 22:50:46 +02:00
Marek Siarkowicz
b4b50f7852
etcdutl: Implement migrate --force command
...
Co-authored-by: nic-chen <33000667+nic-chen@users.noreply.github.com>
Co-authored-by: Heisenberg <yuzhiquanlong@gmail.com>
2021-08-04 17:58:18 +02:00
Sahdev Zala
c8c7fc49b8
Merge pull request #13270 from serathius/release-test
...
*: Bump release tests to use v3.5.0
2021-08-04 11:10:30 -04:00
Marek Siarkowicz
0ae9f0625c
*: Bump release tests to use v3.5.0
2021-08-04 13:41:12 +02:00
Marek Siarkowicz
1b4e54c238
api: Annotate proto messages and use it to detect etcd version that generated wal
...
Co-authored-by: Lili Cosic <cosiclili@gmail.com>
2021-08-04 13:36:08 +02:00
Piotr Tabor
1e46145b29
Merge pull request #13268 from serathius/storage-min
...
Move storage bootstrap dependencies to storage package
2021-08-03 17:28:36 +02:00
Sahdev Zala
1da6c71321
Merge pull request #13256 from Haimantika/replacejwtgo
...
Replace github.com/form3tech-oss/jwt-go with https://github.com/golang-jwt/jwt
2021-08-03 10:17:43 -04:00
Sahdev Zala
55b7b74589
Merge pull request #13265 from spzala/missingprnum
...
CHANGELOG: add missing PR number
2021-08-03 09:11:47 -04:00
Marek Siarkowicz
83a325ac46
server: Move all functions needed for storage bootstrap to storage package
...
This is prerequestite to move storage bootstrap, splitted to separate PR
to make it easier to review.
2021-08-03 13:09:15 +02:00
Marek Siarkowicz
23b742cfd3
server: Remove Quota direct dependency on EtcdServer
2021-08-03 12:48:41 +02:00
Marek Siarkowicz
44b8ae145b
etcdserver: Move datadir and wal to storage package
2021-08-03 12:47:37 +02:00
Haimantika Mitra
c10d50c4b3
Replace github.com/form3tech-oss/jwt-go with https://github.com/golang-jwt/jwt
...
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Made required adjustments to the go.sum file
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Changed go.sum file in the server directory
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Removed the white space
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Made required changes
Signed-off-by: Haimantika Mitra <haimantikamitra@gmail.com>
Trying to fix the fails
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Removed error
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Fixed bill-of-materials.json file
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Changed go.mod with recent version
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Newer version changes
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
Changes to etcdutl directory
Signed-off-by: haimantika mitra <haimantikamitra@gmail.com>
2021-08-03 13:49:47 +05:30
Sahdev Zala
5beca68a11
Add missing PR number
...
Add missing PR number in the changelog entry.
2021-08-02 17:19:21 -04:00
Sam Batschelet
da34e9bf30
Merge pull request #13245 from serathius/makefile
...
*: Cleanup Makefile
2021-08-02 10:24:33 -04:00
Sam Batschelet
c58d7218f6
Merge pull request #13255 from discordianfish/mixin-configure-cluster-label
...
Mixin: Support configuring cluster label
2021-08-02 09:51:27 -04:00
Sahdev Zala
2526463e44
Merge pull request #13236 from roytman/expensiveRequest
...
etcdserver: configure "expensive" requests duration
2021-08-02 09:33:43 -04:00
Sergey Kacheev
eac75c28ae
Apply suggestions from code review
...
Co-authored-by: Lili Cosic <cosiclili@gmail.com>
2021-08-01 00:20:50 +07:00
nickhill
99182f5404
etcdserver,clientv3: server-side ignore sort-ascend-key for range requests
...
A client-side optimization was made in #6100 to filter ascending key sorts to avoid an unnecessary re-sort since this is the order already returned by the back-end logic.
It seems to me that this really belongs on the server side since it's tied to the server implementation and should apply for any caller of the kv api (for example non-go clients).
Related, the client/v3 syncer depends on this default sorting which isn't explicit in the kv api contract. So I'm proposing the required sort parameters be included explicitly; it will take the fast path either way.
2021-07-30 15:02:15 -07:00
Johannes 'fish' Ziemke
7885f2a951
Mixin: Support configuring cluster label
2021-07-29 17:54:14 +02:00
yuzhiquan
90773edb10
remove always true in if statement
2021-07-29 14:33:10 +08:00
Sahdev Zala
4cbb949595
Merge pull request #13203 from yishuT/client-race
...
client: call .Endpoints() in dial() in client/v3/client.go instead of accessing cfg.Endpoints directly
2021-07-29 00:06:58 -04:00
Sahdev Zala
9182a3c200
Merge pull request #13237 from tangcong/fix-auto-tls
...
fix self-signed-cert-validity parameter cannot be specified in the co…
2021-07-28 13:55:21 -04:00
tangcong
8929b8ca46
CHANGELOG: update for 13237
2021-07-29 00:29:11 +08:00
tangcong
8a3c43827b
fix self-signed-cert-validity parameter cannot be specified in the config file
2021-07-29 00:13:13 +08:00
Sahdev Zala
f49ef071eb
Merge pull request #13214 from halleyshx/update_test_egrep
...
update makefile for test egrep
2021-07-28 09:44:42 -04:00
Sahdev Zala
def6f4ce90
Merge pull request #13246 from yuzhiquan/wrong-args
...
etcdctl|etcdutl: Invaild args
2021-07-28 09:05:23 -04:00
yuzhiquan
2a5dd39d79
invaild args
2021-07-28 11:39:54 +08:00