etcd
etcd copied to clipboard
Distributed reliable key-value store for the most critical data of a distributed system
### What happened? When a grpc healthcheck is configured for /health, etcd panics with "not implemented" ### What did you expect to happen? etcd handles the health check successfully. ###...
What are the best practices to get a good perfomance disk with least possible latency for ETCD? As etcd is a consistent and highly-available key value store used as Kubernetes'...
https://github.com/etcd-io/etcd/blob/be2929568f81080b20ef6812992f2e09c8dac91b/client/v3/concurrency/mutex.go#L78 After Txn is commited, `getOwner` should return exactly one KV and `len(ownerKey)`should equals to 1. Because if `cmp` is true, we will `put` one into it within the same...
``` 2022-01-12 08:11:44.420767 W | etcdserver: read-only range request "key:\"/registry/pods/mss-backend-id-staging/mis-server-bbd655577-ggrrz\" " with result "range_response_count:1 size:1925" took too long (1.580800472s) to execute 2022-01-12 08:11:44.420876 W | etcdserver: read-only range request "key:\"/registry/pods/apc-dp-gateway-id-live/transparent-gateway-5f547759b5-gbsgk\"...
### What happened? when client-cert-auth enabled, heath check failed. logs: ```shell {"level":"warn","ts":"2022-03-29T18:54:08.511Z","caller":"embed/config_logging.go:169","msg":"rejected connection","remote-addr":"127.0.0.1:49502","server-name":"","error":"tls: client didn't provide a certificate"} ``` ### What did you expect to happen? health check is successful....
we found a dead lock in LockServer if large amount of call abort when waiting for the same lock. New lock cannot be acquired anymore after dead lock happened. the...
### What happened? etcd Version: 3.5.0 Go Version: go1.12.9 Go OS/Arch: linux/amd64 1、when I start etcd grpc proxy, I use etcdctl ./etcdctl --endpoints=http://162.166.93.222:30380 put abc 123 returns OK 2、However, when...
https://github.com/etcd-io/etcd/blob/b1610934e3b854df22ec802989df7257a219fae0/server/etcdserver/apply.go#L1107 If the revision in the RangeRequest executed in the txn is -1, the current tx will fail: return mvcc.ErrCompacted
go version: go version go1.17.5 darwin/arm64 raft version: go.etcd.io/etcd/raft/v3 v3.5.1 minimum reproducible example: ```go package main import ( "context" "fmt" "go.etcd.io/etcd/raft/v3" "go.etcd.io/etcd/raft/v3/raftpb" "time" ) var chMap = make(map[uint64]chan raftpb.Message) func...
Recently the Vitess folks have posted a blog on their optimizations on protobuf generator https://vitess.io/blog/2021-06-03-a-new-protobuf-generator-for-go/. The project source is located at https://github.com/planetscale/vtprotobuf. The findings and benchmarks were very interesting and...