Commit Graph

  • 3cbfb51269 Implements the timeout feature to the etcd client. Tao He 2022-05-22 22:45:50 +0800
  • 8da8946409 Refactor the implementation of sync-client and async-client. Tao He 2022-05-22 02:02:58 +0800
  • 67775e82fe Refactor the implementation of sync-client and async-client. Tao He 2022-05-22 02:02:58 +0800
  • 01ac6b4685 [#127] set timeout for keeplive grpc cheng.li 2022-05-02 18:00:23 +0800
  • 14d2450e11 [#127] set timeout for keeplive grpc cheng.li 2022-05-02 17:56:41 +0800
  • f21c45b362 Bump up the version to v0.2.6 for a quickfix of the ctor v0.2.6 Tao He 2022-04-25 23:40:33 +0800
  • 9a5267286b Use a explicit copy constructor as we noticed stack-buffer-overflow inside the copy ctor when ASAN is enabled Tao He 2022-04-24 10:30:10 +0800
  • ffb489ba4b Bump up the version number to v0.2.5 v0.2.5 Tao He 2022-04-21 18:53:39 +0800
  • bd4ec37ff4 Use int64_t for etcd revisions/indexes. Tao He 2022-04-21 17:57:19 +0800
  • 1ba6f2c4d6 Use int64_t for etcd revisions/indexes. Tao He 2022-04-21 17:57:19 +0800
  • 9a2b753e9e Bump up version to v0.2.4. v0.2.4 Tao He 2022-04-08 21:26:30 +0800
  • 680e8ad5c6 Replace Tabs in sources and README with spaces. Tao He 2022-04-08 20:49:56 +0800
  • 56c7189f92 Revisit the watcher's reconnect functionality. Tao He 2022-04-08 19:40:59 +0800
  • f70255c8b0 Revert "Add support to re-activate watcher from wait_callback in watcher async wait." Tao He 2022-04-08 16:42:07 +0800
  • 9a2afd4e81 Revert "Update Watcher re-connection sample." Tao He 2022-04-08 16:41:58 +0800
  • 95fa7789c2 Revisit the watcher's reconnect functionality. Tao He 2022-04-08 19:40:59 +0800
  • abfb674c0c Revert "Add support to re-activate watcher from wait_callback in watcher async wait." Tao He 2022-04-08 16:42:07 +0800
  • 31c0161148 Revert "Update Watcher re-connection sample." Tao He 2022-04-08 16:41:58 +0800
  • d4975f84b3
    Return complete meta information of HEAD. (#123) Tao He 2022-04-06 16:01:49 +0800
  • 93f2371a7b Fixes the CI by revisiting the LD_LIBRARY_PATH. Tao He 2022-04-06 15:44:43 +0800
  • b5ac4e3e47 Return complete meta information of HEAD. Tao He 2022-04-06 14:45:33 +0800
  • 767f0b1c65
    Test against centos latest. (#121) Tao He 2022-03-30 09:22:18 +0800
  • f057ef9747 Test against centos. Tao He 2022-03-29 21:02:41 +0800
  • 23394ab9bb Update Watcher re-connection sample. David Pastor 2022-02-09 16:08:04 +0100
  • 0467c0eef3 Add support to re-activate watcher from wait_callback in watcher async wait. Returns wait result when cancelling watcher. David Pastor 2022-02-09 16:07:36 +0100
  • 16cf7785ef Update Watcher re-connection sample. David Pastor 2022-02-09 16:08:04 +0100
  • 0cb8a04218 Add support to re-activate watcher from wait_callback in watcher async wait. Returns wait result when cancelling watcher. David Pastor 2022-02-09 16:07:36 +0100
  • 82f632de11
    Bump cmake mininum required version to 3.3 (#114) Siyuan Zhang 2022-01-05 19:41:07 +0800
  • dfba64f3bf Bump cmake mininum required version to 3.3 siyuan0322 2022-01-05 19:38:22 +0800
  • 1575c5b43a
    Fixes warnings and -Werror errors on Mac with the latest grpc. (#112) Tao He 2021-12-28 13:28:56 +0800
  • d5fa098f97 Fixes warnings and -Werror errors on Mac with the latest grpc. Tao He 2021-12-28 13:28:29 +0800
  • bad5f6ea72 Deb: no debug. Tao He 2021-12-23 19:16:03 +0800
  • 5ad96e21f9
    Build the deb package and upload to artifacts. (#111) Tao He 2021-12-23 19:13:02 +0800
  • 5714afc988 Cancel. Tao He 2021-12-23 19:06:13 +0800
  • 65827641a2 Build the deb package and upload to artifacts. Tao He 2021-12-23 19:02:55 +0800
  • 99ea53cb79 Bump up version to v0.2.3. v0.2.3 Tao He 2021-12-22 14:32:20 +0800
  • 345380a83a
    Allow specifying the auth token TTL when auth with password. (#109) Tao He 2021-12-22 14:30:45 +0800
  • 2087c8cef0 Fixes. Tao He 2021-12-22 14:19:36 +0800
  • 1f3c62301f Allow specifying the auth token TTL when auth with password. Tao He 2021-12-22 13:49:14 +0800
  • 405383c0ba Add a new API to `client.observe()` that accepts a callback. Tao He 2021-12-22 10:30:46 +0800
  • 6a0b6696e5 Fixes the hardcode language standard in CMakeLists.txt. Tao He 2021-12-22 10:16:38 +0800
  • 8678cec1f7 Bump up version to v0.2.2. v0.2.2 Tao He 2021-11-14 21:23:41 +0800
  • 0d672ffa1c
    Accept an `grpc::ChannelArguments` argument in client's constructors. (#104) Tao He 2021-11-09 00:31:59 +0800
  • 83d1fd2174 Backwards compatibility with Ubuntu 18.04. Tao He 2021-11-09 00:19:56 +0800
  • a23e156886 Accept an `grpc::ChannelArguments` argument in client's constructors. Tao He 2021-11-09 00:03:28 +0800
  • bfb56be151
    Expose key version in etcd::Value (#97) Matthew Fioravante 2021-10-27 00:49:34 -0400
  • 1a9c937e7a expose key version in etcd::Value Matthew Fioravante 2021-10-26 23:27:13 -0400
  • 1118222b3d
    Make revision numbers 64 bit to match proto spec (#96) Matthew Fioravante 2021-10-26 22:51:49 -0400
  • f0886ccbf4 Fix tests Matthew Fioravante 2021-10-26 22:36:10 -0400
  • c8ced5b1c4 Make Value created and modified index 64 bit Matthew Fioravante 2021-10-26 22:25:44 -0400
  • c144b46ef6 make Transaction mod revision 64 bit Matthew Fioravante 2021-10-26 22:23:30 -0400
  • 2dfbd385be Make input revision params 64 bit Matthew Fioravante 2021-10-26 22:21:37 -0400
  • 9a481bf40a make compact_revision 64 bit Matthew Fioravante 2021-10-26 22:13:41 -0400
  • ae45152a1a Make Response::index() 64 bit Matthew Fioravante 2021-10-26 21:58:24 -0400
  • d29e05545d Implements the put action. Tao He 2021-10-12 10:17:25 +0800
  • e9db91b335
    Allow changing Transaction key (#93) Matthew Fioravante 2021-10-07 23:12:35 -0400
  • bd4c1479b4 Fixes the compilation errors. Tao He 2021-10-08 11:09:51 +0800
  • 2502f84535 Allow changing Transaction key Matthew Fioravante 2021-10-05 18:31:07 -0400
  • b99dc2024e
    Include compact revision for cancelled watch response. (#91) Tao He 2021-09-28 11:24:11 +0800
  • f545986317 Include compact revision for cancelled watch response. Tao He 2021-09-28 11:11:55 +0800
  • a949dec288
    Add an optional `target_name_override` to support multiple-endpoints with SSL. (#89) Tao He 2021-09-24 02:41:46 +0800
  • 63b8436724 Add an optional `target_name_override` to support multiple-endpoints with SSL. Tao He 2021-09-24 01:02:32 +0800
  • 6eed82a766
    Fixes memory leak in shutting down gRPC streams. (#88) Tao He 2021-09-23 14:51:29 +0800
  • 2e2b4ae858 Remove checks in "Watch". Tao He 2021-09-23 14:29:48 +0800
  • ea0557dd6d Fixes. Tao He 2021-09-23 14:14:45 +0800
  • 895857c523 Adapt to CI env. Tao He 2021-09-23 13:20:02 +0800
  • 1cd19888dd Fixes. Tao He 2021-09-23 12:54:22 +0800
  • 9729858da4 Fixes memory leak in shutting down gRPC streams. Tao He 2021-09-23 12:47:29 +0800
  • d386bb96b0
    Removing memory-leak, fixes #83. (#85) mszy 2021-09-22 04:50:33 +0200
  • cf4541335c Removing memory-leak, fixes #83. morgan.szygenda 2021-09-20 09:56:21 +0200
  • cda80854eb
    Implements "v3election.proto" APIs. (#84) Tao He 2021-09-16 00:46:21 +0800
  • 87ca961f7e Implements "v3election.proto" APIs. Tao He 2021-09-15 21:32:14 +0800
  • 116b49b784
    Lint source code, improve the quality and readability. (#82) Tao He 2021-09-15 14:59:55 +0800
  • a334cde17b Fixes. Tao He 2021-09-15 14:43:38 +0800
  • 4d6d0e2732 Refine source code, improve the quality and readability. Tao He 2021-09-15 14:18:04 +0800
  • 42c2fdf58c Ugrade vcpkg sources. Tao He 2021-08-24 00:13:10 +0800
  • 1b68f9c79d Fixes for #80 and #79, should set `CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS` instead. Tao He 2021-08-24 00:10:11 +0800
  • 0e4934523e
    MSVC: export all global symbols by default. (#80) Tao He 2021-08-23 23:33:29 +0800
  • 067aacf5f5 MSVC: export all global symbols by default. Tao He 2021-08-23 19:28:31 +0800
  • a69638409c The target protobuf::protoc exists since cmake 3.10. Tao He 2021-08-04 11:27:56 +0800
  • 891dc7bedf Revisit docs about how could we "reconnect" when failure. Tao He 2021-07-28 17:57:33 +0800
  • 3d4fa143e0 Set `etcd-cpp-api_FOUND`, fixes #77. Tao He 2021-07-16 00:56:49 +0800
  • 2338a83fd5
    Add a brief doc and sample code describing how a watcher can re-connect to etcd server after disconnected. (#76) Yue 2021-07-15 23:55:01 +0800
  • 4fcbab3785 Add a brief doc and sample code describing how a watcher can re-connect to etcd server after disconnected. Yue 2021-07-15 23:20:23 +0800
  • 7559258b87 Update vcpkg configs, fixes #72. Tao He 2021-07-13 00:53:05 +0800
  • 0dc89e4c1e Add openssl/libssl-dev to requirements. Tao He 2021-07-01 17:59:55 +0800
  • 6704b9373f
    Minor update for vcpkg portfile so that the port can be installed on macOS. And update the portfile to use the latest release v0.2.1. (#69) Yue 2021-06-20 16:10:08 +0800
  • c42f2a3fb4 Minor update for vcpkg portfile so that the port can be installed on macOS. And update the portfile to use the latest release v0.2.1. Yue 2021-06-20 16:05:12 +0800
  • efcecb7731 Add a "head" method on the client the retrieve the latest revision. Tao He 2021-06-16 17:10:32 +0800
  • 68c5626d2c Keepalive: join the thread outside the background job itself. Tao He 2021-06-15 12:03:35 +0800
  • b3a193c75e Fixes several typos in REAEMD. Tao He 2021-06-01 17:27:20 +0800
  • 230ebfd08b
    Avoid duplicate const string tags. (#62) Tao He 2021-05-28 23:22:32 +0800
  • 0bd36f00fd Avoid duplicate const string tags. Tao He 2021-05-28 23:12:02 +0800
  • 46f36dac6d Fixes a typo in example code in README. Tao He 2021-05-28 14:34:08 +0800
  • 9d794504aa Drop unused log message. Tao He 2021-05-28 10:09:41 +0800
  • 4dda2db5a1 Compatible with older version of gRPC. Tao He 2021-05-27 23:13:04 +0800
  • e80709418b Avoid including protobuf & grpc headers in our interface files. Tao He 2021-05-27 22:10:24 +0800
  • 0b9a4f36ce Upgrade catch.hpp to v2.13.6. Tao He 2021-05-25 13:31:11 +0800
  • eab29edaf0 Fixes unused warnings. Tao He 2021-05-25 13:29:36 +0800
  • e45862b281 Upgrade v0.2.1 after a set of bugfixes. v0.2.1 Tao He 2021-05-24 14:58:05 +0800