73fc864247
tests: Pass logger to backend
2022-04-05 15:53:38 +02:00
9084acceac
tools/benchmark: add autoSync flag
2021-10-15 22:03:23 -07:00
55525e3cc5
Benchmark: remove redundant function call
...
Remove the redundancy as HashKV func is being called twice.
2021-08-12 09:56:38 -04:00
5e40a8b00c
server: Create storage package and move mvcc files to it
2021-07-12 15:37:21 +02:00
c7cbc6befa
Merge pull request #13027 from lilic/benchmark-readme
...
tools/benchmark/README.md: Update installation as go get does not work
2021-05-31 10:37:49 +02:00
312908c068
tools/benchmark/README.md: Update installation as go get does not work
2021-05-31 10:25:37 +02:00
79b2777482
tools: add mixed read-write performance evaluation scripts
2021-05-25 12:03:42 -07:00
6bab63e96b
tools: rename "master" branch references to "main"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2021-05-12 10:39:53 -07:00
a78d072b9a
Simplify KVstore dependency on cindex.
2021-05-04 18:21:24 +02:00
3bb7acc8cf
Migrate dependencies pkg/foo -> client/pkg/foo
2021-04-07 00:38:47 +02:00
9312d1b077
clientv3: Bring back ETCD_CLIENT_DEBUG variable interpretation.
...
env ETCD_CLIENT_DEBUG supports log levels (debug, info, warn, error, dpanic, panic, fatal).
Only when set, overrides application-wide grpc logging settings.
2021-03-18 18:43:07 +01:00
aaf423e962
server: Update imports.
...
find -name '*.go' | xargs sed -i --follow-symlinks 's|etcd/v3/|etcd/server/v3/|g'
2020-10-26 13:02:32 +01:00
e33c6dd9df
client/v3: Rename of imports
2020-10-20 10:13:06 +02:00
de55bb6331
pkg: Rename imports after making 'pkg' a module
...
find -name '*.go' | xargs sed --follow-symlinks -i 's|go.etcd.io/etcd/v3/pkg/|go.etcd.io/etcd/pkg/v3/|g'
go fmt ./...
2020-10-13 00:09:27 +02:00
96cce208c2
go.mod: use go.etcd.io/etcd/v3 versioning
...
This change makes the etcd package compatible with the existing Go
ecosystem for module versioning.
Used this tool to update package imports:
https://github.com/KSubedi/gomove
2020-04-28 00:57:35 +00:00
6ffd9f659e
tools/benchmark: exit when txn-ops is larger than key-space-size to avoid key duplicated error. ( #11499 )
2020-01-06 16:36:51 -08:00
57aa68af5a
etcdserver: trace compaction request; add return parameter 'trace' to applierV3.Compaction()
...
mvcc: trace compaction request; add input parameter 'trace' to KV.Compact()
2019-10-07 09:55:27 -07:00
9b51febaf5
*: Add experimental-compaction-batch-limit flag
2019-08-15 11:47:23 -07:00
b5ee1de076
cleanup: correct summary message in put.go
2019-08-12 21:13:58 +08:00
34bd797e67
*: revert module import paths
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-05-28 15:39:35 -07:00
9150bf52d6
go modules: Fix module path version to include version number
2019-04-26 15:29:50 -07:00
a1fb18a9fc
benchmark: fix install docs
2019-02-18 18:15:40 +08:00
95a282efb5
benchmark: util.go
...
allow client to setup TLS with cluster members, without the client having to offer TLS authentication itself
fixes #10142
2018-10-02 08:45:24 -07:00
d37f1521b7
*: update import paths to "go.etcd.io/etcd"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2018-08-28 17:47:55 -07:00
3c89938adf
Merge pull request #9866 from spzala/checkhashkv
...
Tools: new benchmark for the hashkv performance
2018-08-13 19:20:42 -07:00
18f85684da
tools/benchmark: clean up formatting
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2018-08-13 19:19:46 -07:00
40b66d1f18
Etcdctl: benchmark for hashkv performance
...
The benchmark as a sub command of put when provided will fetch hashkv and checks
the time taken to get it.
Fixed # 8910
Provider a way to etcd user to check how long it takes to get
hashkv in user enviornment. The command ouput will provide time taken
to get hashkv along with db file size.
2018-08-10 15:53:41 -04:00
9d96a24de1
benchmark: Create README.md
...
When trying to run the benchmark I found little documentation on how to
run the benchmark.
2018-07-09 10:37:53 +01:00
9063805180
contrib/tools: support structured logger
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 17:36:00 -07:00
9bd580f2fc
tools/benchmark: use "TrustedCAFile"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-03-20 15:31:32 -07:00
8a518b01c4
*: revert "internal/mvcc" change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-26 17:11:40 -08:00
dd2f3b0de8
*: revert "internal/lease" change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-26 17:11:40 -08:00
80d15948bc
*: move "mvcc" to "internal/mvcc"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-26 11:14:41 -08:00
349a377a67
*: move "lease" to "internal/lease"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-26 11:09:29 -08:00
fcfbeb30e8
tools/benchmark/cmd: fix fmt warning in import path
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 15:26:17 -08:00
1c3567da90
tools/benchmark: ask for password when it is not supplied
2017-10-27 14:30:43 +08:00
3b3d392540
*: use grpclog.LoggerV2
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-09-08 15:26:16 -07:00
640c0e6ff4
tools/benchmark: replace 'golang.org/x/net/context' with 'context'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-09-08 09:50:00 -07:00
56db7e56f9
benchmark: refactor watch benchmark
2017-06-08 21:14:08 -07:00
887db5a3db
*: fix go tool vet -all -shadow errors
2017-06-03 21:32:36 -07:00
7acd43e8bb
Merge pull request #7862 from mitake/benchmark-mvcc-batch
...
benchmark, pkg: a new option of mvcc --batch for enlarging a single txn
2017-05-30 19:50:44 -07:00
99366c6b42
benchmark: a new option of mvcc --txn-ops for enlarging a single txn
...
This commit adds a new option --txn-ops to `benchmark mvcc put`. A
number specified with this option will be used as a number of written
keys in a single transaction. It will be useful for checking the
effect of the batching.
2017-05-26 11:10:24 +09:00
ebd6e8c4b1
benchmark: support multiple clients/conns in watch-latency benchmark
2017-05-24 11:31:43 -07:00
b6e4858a25
benchmark: add rate limiting to stm
2017-05-15 15:42:54 -07:00
6526097bfc
benchmark: add rpc locks to stm benchmark
2017-05-15 15:42:26 -07:00
6dd8fb6f24
Revert "Merge pull request #7732 from heyitsanthony/lease-err-ka"
...
This reverts commit fbbc4a4979
, reversing
changes made to f254e38385
.
Fixes #7851
2017-05-02 09:36:16 -07:00
cb8524fbec
benchmark: use new lease interface
2017-04-24 23:49:45 -07:00
6b030ed7db
benchmark: a new flag --target-leader for targetting a leader endpoint
...
Current benchmark picks destinations of RPCs in a random
manner. However, it will result divergent benchmarking result because
RPCs other than serializable range must be forwarded to a leader node
when a follower node receives it. This commit adds a new flag
--target-leader for avoid the problem. If the flag is passed,
benchmark always picks an endpoint of a leader node.
2017-04-17 14:24:35 +09:00
373a04a181
tools/benchmark: fix misc gofmt warnings
...
ref. https://golang.org/cmd/gofmt/#hdr-The_simplify_command
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-04-12 14:12:05 -07:00
95c6c4b713
Merge pull request #7712 from heyitsanthony/stm-sersnap
...
*: rename Snapshot STM isolation to SerializableSnapshot
2017-04-12 09:03:13 -07:00