Tao He
e5f1167c69
Implements the timeout feature to the etcd client.
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2022-05-22 22:57:38 +08:00
Tao He
9a5267286b
Use a explicit copy constructor as we noticed stack-buffer-overflow inside the copy ctor when ASAN is enabled
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2022-04-24 10:30:10 +08:00
Tao He
d4975f84b3
Return complete meta information of HEAD. ( #123 )
...
* Return complete meta information of HEAD.
* Fixes the CI by revisiting the LD_LIBRARY_PATH.
Signed-off-by: Tao He <sighingnow@gmail.com>
2022-04-06 16:01:49 +08:00
Matthew Fioravante
1118222b3d
Make revision numbers 64 bit to match proto spec ( #96 )
...
* Make Response::index() 64 bit
* make compact_revision 64 bit
* Make input revision params 64 bit
* make Transaction mod revision 64 bit
* Make Value created and modified index 64 bit
* Fix tests
2021-10-27 10:51:49 +08:00
Tao He
b99dc2024e
Include compact revision for cancelled watch response. ( #91 )
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2021-09-28 11:24:11 +08:00
Tao He
cda80854eb
Implements "v3election.proto" APIs. ( #84 )
...
Resolves #81 .
Signed-off-by: Tao He <sighingnow@gmail.com>
2021-09-16 00:46:21 +08:00
Tao He
e80709418b
Avoid including protobuf & grpc headers in our interface files.
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2021-05-27 22:10:24 +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
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
arches
60383a502c
Make mvccpb::KeyValue a member of etcdv3::keyValue instead of
...
inheriting from it.
2016-07-26 10:04:26 -04:00
arches
77109d06e4
Updated access of V3Response
2016-07-08 10:00:15 -04:00
arches
6dfbe791a0
Added DeleteRangeResponse.
...
Refactor how value/values are filled up by parseResponse
2016-07-08 08:48:39 -04:00
arches
174ea401b8
Added SyncClient class
2016-07-04 06:54:07 -04:00
arches
dd1d01519c
Fixed bug when only one key is returned during ls().
...
Instead of placing it in response::value it should be placed in
reponse::values
2016-07-01 10:17:41 -04:00
arches
a43de811f4
Refactor part1
2016-06-24 12:20:31 -04:00
arches
bdfb481f69
Updated Watch so it can return previous values.
2016-06-21 10:45:43 -04:00
arches
87dc87abdb
Removed createResponse
2016-06-20 06:24:09 -04:00
Arches
e5eafcf531
made prev_values a vector.
2016-06-16 06:29:49 -04:00
arches
0d7b702430
Added implementation for ls
2016-06-16 06:28:46 -04:00
lampayan
33be7c9092
Merge remote-tracking branch 'origin/maui' into other_dev
...
# Conflicts:
# etcd/Client.hpp
# etcd/Response.hpp
# proto/rpc.proto
# src/CMakeLists.txt
# src/Client.cpp
# src/Response.cpp
# tst/EtcdTest.cpp
2016-06-08 14:53:34 +02:00
arches
04f8cc71e5
implemented assigned client interface
2016-06-07 10:59:10 -04:00
lampayan
66f9be45ba
Crude DeleteV3, version 2 backward compatibility, implementation
2016-06-07 14:46:40 +02:00
arches
3f5ca746fc
Added AsyncPutResponse class
2016-06-06 10:26:56 -04:00
arches
273710aafe
Updates for GET and SET
2016-06-06 08:00:00 -04:00
lampayan
326693a95e
commit for merge
2016-06-02 13:36:58 +02:00
Arches
7d11a0a4ca
initial repository creation
2016-05-31 11:20:06 +02:00