Commit Graph

38 Commits

Author SHA1 Message Date
Tao He 46f36dac6d Fixes a typo in example code in README.
Signed-off-by: Tao He <sighingnow@gmail.com>
2021-05-28 14:34:08 +08:00
Tao He 9e77fdb2ee
Fixes lock, and the underlying keepalive implmentation. (#60)
* Fixes lock, and the underlying keepalive implmentation.

The previous implementation is buggy when a lot of locks happen at the same time,
as the cpprestsdk's threadpool use a fixed number of thread for posix platform:

https://github.com/microsoft/cpprestsdk/blob/master/Release/src/pplx/threadpool.cpp#L198

Signed-off-by: Tao He <sighingnow@gmail.com>
2021-05-21 18:05:35 +08:00
Nils Carlson ad2da0ac7e
Change KeepAlive lease expiry to throw std::out_of_range (#55)
Update documentation to show different exceptions used by KeepAlive as well.
2021-04-08 10:18:26 +08:00
Tao He 62a846d798
Handling (or checking) possible failure in lease's KeepAlive. (#53)
* Handling (or checking) possible failure in lease's KeepAlive.
* Add documentation.
* Enhance documentations.

Signed-off-by: Tao He <sighingnow@gmail.com>
2021-04-02 17:15:27 +08:00
Ruoyun Huang c18092c576
Update README.md (#47)
Fix a minor mistake in installation instruction.
2021-02-17 23:17:34 +08:00
Tao He 7aa851420c Fixes README.md.
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2021-02-07 09:32:23 +08:00
Tao He 03baacf9ea
Support secure transport and certificate-based authentication. (#42)
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
2021-02-07 01:35:37 +08:00
Ashish Billore dfcd8073e6
Update README.md to add the "git clone" part for build & install process (#38)
Added details needed to build the project (git clone) and install the project (make install).
2021-02-01 21:16:37 +08:00
Tao He bcf5313eab Continue work for #36, add instructions about how to install deependencies. 2021-01-31 15:24:23 +08:00
Ashish Billore cd3e30b492 Update README.md
Detailed build and install instructions.
2021-01-31 15:14:04 +08:00
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 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 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
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 19061bd9e1 updated readme 2016-08-29 16:00:51 +02:00
arches 7758842ada updated readme 2016-08-29 09:51:46 -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 f4e8406f7c Merge branch 'other_dev' of gitlabe1.ext.net.nokia.com:tas/etcd-cpp-apiv3 into other_dev
# Conflicts:
#	README.md
2016-07-04 05:43:36 -04:00
Arches fa1a396e8a Updated readme to indicate correct etcd version to use 2016-07-04 10:32:31 +02:00
Arches d016f2b5d5 Update readme. Add description on what compatible etcd version
to use with this cpp client.
2016-07-04 10:30:05 +02:00
arches 9538f63ab9 Mentioned compatible etcd version for this client. 2016-07-01 10:21:38 -04:00
Arches 00565282ff Updated readme. Add compatible etcd version 2016-06-30 15:07:51 +02:00
Arches 0cb5bd762a Mentioned path for protofiles in etcd
Mentioned that etcdv3 cpp client does not make use
of etcdv3 indefinite watch functionality.
2016-06-24 10:41:05 +02:00
lampayan 7fec39739b updated README for watch 2016-06-24 10:23:22 +02:00
Arches 8a55c6e49a Update rmdir description. 2016-06-23 17:32:22 +02:00
Arches fb5222a7b5 Updated readme. Make section handling of directories more readeable. 2016-06-23 14:57:09 +02:00
Arches cbff4fe2c9 Updated readme rearding directory nodes. 2016-06-23 10:49:44 +02:00
arches 9d199a8579 Updated readme. mentioned protobuf and grpc 2016-06-22 05:17:12 -04:00
arches 005be04b50 updated readme 2016-06-22 04:57:52 -04:00
Arches 7d11a0a4ca initial repository creation 2016-05-31 11:20:06 +02:00