From 1b96e7b1334f082eae47601b8c8d662a5472e9e6 Mon Sep 17 00:00:00 2001 From: reatang Date: Tue, 4 Apr 2023 16:30:02 +0800 Subject: [PATCH 1/3] readme add etcd v2 description --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 0303c63..a6e01a9 100644 --- a/README.md +++ b/README.md @@ -323,6 +323,15 @@ or Etcd_interface ====== +* crucial + +etcd v2 and v3 are completely incompatible. To enable v2 on v3, you need to enter `--enable-v2=true` or ENV `ETCD_ENABLE_V2=true`. In addition, data submitted by grpc clients using version v3 is not visible in version v2, and they are separated from the storage layer. + +If you must use it in the etcd v3 storage, can refer to an open source external to implement proxy: +https://github.com/reatang/etcdv3_upsync_proxy + +* etcd v2 http_interface + you can add or delete backend server through http_interface. mainly like etcd, http_interface example: From 9752595ad6fd0ed70a797f8b087e1ae4caee4dcf Mon Sep 17 00:00:00 2001 From: reatang Date: Tue, 4 Apr 2023 16:33:37 +0800 Subject: [PATCH 2/3] readme add etcd v2 description --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a6e01a9..c85c940 100644 --- a/README.md +++ b/README.md @@ -323,14 +323,14 @@ or Etcd_interface ====== -* crucial +**crucial** etcd v2 and v3 are completely incompatible. To enable v2 on v3, you need to enter `--enable-v2=true` or ENV `ETCD_ENABLE_V2=true`. In addition, data submitted by grpc clients using version v3 is not visible in version v2, and they are separated from the storage layer. If you must use it in the etcd v3 storage, can refer to an open source external to implement proxy: https://github.com/reatang/etcdv3_upsync_proxy -* etcd v2 http_interface +**etcd v2 http_interface** you can add or delete backend server through http_interface. From 26adaf471ffb7d7c3b7dd6847d1ebd6d382f2a4b Mon Sep 17 00:00:00 2001 From: reatang Date: Tue, 4 Apr 2023 16:39:15 +0800 Subject: [PATCH 3/3] readme add etcd v2 description --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c85c940..82937fd 100644 --- a/README.md +++ b/README.md @@ -325,7 +325,7 @@ Etcd_interface **crucial** -etcd v2 and v3 are completely incompatible. To enable v2 on v3, you need to enter `--enable-v2=true` or ENV `ETCD_ENABLE_V2=true`. In addition, data submitted by grpc clients using version v3 is not visible in version v2, and they are separated from the storage layer. +etcd's http_interface v2 and v3 are completely incompatible. To enable v2 on v3, you need to enter `--enable-v2=true` or ENV `ETCD_ENABLE_V2=true`. In addition, data submitted by grpc clients using version v3 is not visible in version v2, and they are separated from the storage layer. If you must use it in the etcd v3 storage, can refer to an open source external to implement proxy: https://github.com/reatang/etcdv3_upsync_proxy