Tao He
692840cb58
Support ubuntu 18.04 (boost-1.65), and test it in CI.
2021-01-30 14:43:16 +08:00
Tao He
66c111b5ca
Test the library on more platforms with more versions of etcd.
...
Squashed commit of the following:
commit 7d15f8f5f9b477f606dbe034f26c37a894eb5b46
Author: Tao He <linzhu.ht@alibaba-inc.com>
Date: Thu Jan 28 10:47:55 2021 +0800
Add a bit more about how to enable authentication on etcd v3.2.x and v3.3.x.
Fixes #33 .
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
commit 9e84e27d480930133d2f2380bed44cb187ff1656
Author: Tao He <sighingnow@gmail.com>
Date: Sun Jan 17 20:59:12 2021 +0800
Tweak LD_LIBRARY_PATH, to include /usr/local/lib.
Signed-off-by: Tao He <sighingnow@gmail.com>
commit c3b913c3c33606caa6ff326639a791e55565da3f
Author: Tao He <linzhu.ht@alibaba-inc.com>
Date: Sat Dec 26 15:27:54 2020 +0800
Test on various versions of Ubuntu and Mac, with different versions of ETCD.
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2021-01-28 13:07:34 +08:00
Tao He
cd6e85dacf
Fixes README.md in #32 .
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2021-01-27 20:53:43 +08:00
Tao He
b27f6963aa
Install the KeepAlive header file, fixes #32 .
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2021-01-27 20:50:36 +08:00
Tao He
4ecd0e095b
Refresh cache every month, since the cache is immutable
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2021-01-12 20:26:03 +08:00
Tao He
5258809b36
Remove debug logs.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2021-01-12 11:31:34 +08:00
Tao He
e5c804416c
Protect implicit keepalive maps using a lexical scoped lock.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2021-01-12 01:11:35 +08:00
Tao He
cfb5cb89d3
Fixes the -Werror for unused "continue_next": we just use it.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2021-01-11 20:47:11 +08:00
Tao He
6962030db8
Implements "KeepAlive" feature, and enhance "lock" with a lease.
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2021-01-10 23:39:50 +08:00
Tao He
0ec2bc7ab7
Be slient when we switch to another kind of package finding mechanism.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-12-24 11:53:54 +08:00
Tao He
f2d8330b08
Fixes when cpprestsdk is a submodule of external project.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-12-21 16:19:24 +08:00
Tao He
02d170a0cf
Configuration for vcpkg.
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-12-20 15:24:27 +08:00
Tao He
7e280ec8a4
Install dll to bin/ on windows.
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-12-20 14:54:25 +08:00
Tao He
887dab21c8
Hotfixes for value of "GRPC_CPP_PLUGIN" for codegen.
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-12-20 00:41:35 +08:00
Tao He
e286c36926
Fixes for windows (vcpkg environment) compatibility.
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-12-20 00:19:47 +08:00
Tao He
eee2ea2d14
Set maximum message bytes for send/recv for larger initial etcd machine.
2020-11-02 20:23:09 +08:00
Tao He
f7e7ec30fe
Fixes CMakeLists.txt for header installation.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-25 00:22:29 +08:00
Tao He
525a279a18
Install target etcd-cpp-api where it is defined.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-24 22:48:31 +08:00
Tao He
dd1f106150
Make "CancelWatch()" thread-safe and happen only once, fixes the potential assert failure in gRPC routines.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-15 19:56:23 +08:00
Tao He
7fe755ae53
Make sure a cancalable watch must be a successful watch.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-12 13:19:23 +08:00
Tao He
a00a06d5bd
Remove unused comment code.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-11 17:19:46 +08:00
Tao He
3305a19d15
Drop the Interceptor-based implementation to be compatible with ealier version of gRPC (pre-0.17.0).
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-10 20:17:32 +08:00
Tao He
eb284103e0
Auto and watch functionalities on SyncClient.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-10 20:17:32 +08:00
Tao He
0fb4f2887d
Implements etcd v3 authentication.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-10 20:17:32 +08:00
Tao He
65271bb92d
Enhance tests and improve documents about about build & install.
...
Should fixes #2 , #4 .
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-10-01 01:47:43 +08:00
Tao He
e24f3c0de9
Fixes ccache.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 15:44:37 +08:00
Tao He
12f59ca48e
Enable github CI.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 15:26:58 +08:00
Tao He
100eae97e9
Improve the etcd watcher to detect error when the connection lost.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 00:32:00 +08:00
Tao He
611ab05de0
Move generated protobuf files to binary directory.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 00:32:00 +08:00
Tao He
6eb725de0e
Add "limit" support on "ls" command.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 00:32:00 +08:00
Tao He
60ffe62b26
Update accumulated changes.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 00:32:00 +08:00
Tao He
bb33b76544
Optimize protobuf generation process in CMakeLists.txt.
...
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2020-09-30 00:32:00 +08:00
Tao He
72b215a513
Re-org v3 related files to make it a submodule.
2020-09-30 00:32:00 +08:00
Tao He
4e9d17c188
Update protobuf, implments lock, fixes watch and improves txn ( #1 )
2020-09-30 00:32:00 +08:00
Gergely Csatari
ac9cce8815
Add license refrence to README.md ( #15 )
2020-09-30 00:31:17 +08:00
Arches
be7b029bd2
Updated readme forat
2016-12-13 15:20:16 +01:00
Arches
b081afa286
Updated formatting
2016-12-13 15:17:07 +01:00
Arches
1bf2caf5e3
Updated readme format
2016-12-13 15:10:21 +01:00
Arches
f995eaa673
updated readme
2016-12-13 15:08:18 +01:00
Arches
0c52135bf8
Deleted junk files
...
Added #include <grpc/support/log.h> since this is where GPR_ASSERT is now defined.
2016-12-13 11:14:49 +01:00
Arches
a5d2140793
Updated logic for stripping of endpoint
2016-09-26 11:56:04 +02:00
Arches
e37cb46922
First commit
2016-08-29 16:14:57 +02:00
Arches
19061bd9e1
updated readme
2016-08-29 16:00:51 +02:00
arches
7758842ada
updated readme
2016-08-29 09:51:46 -04:00
arches
70bef36f64
Updated waitResponse
2016-07-26 10:06:33 -04:00
arches
60383a502c
Make mvccpb::KeyValue a member of etcdv3::keyValue instead of
...
inheriting from it.
2016-07-26 10:04:26 -04:00
arches
16936603b5
Fixed how leaseid can be fetched.
2016-07-13 08:30:34 -04:00
arches
d9b18e6b7e
Mentioned leasegrant() and Watcher()
...
Also updated rmdir().
2016-07-13 08:23:28 -04:00
arches
888946b589
Added new interface for leasegrant and leaseId in add, set, modify, modify_if
2016-07-13 07:56:43 -04:00
arches
ac54e84f6d
Use ttl
2016-07-13 07:20:15 -04:00