Граф коммитов

223 Коммитов

Автор SHA1 Сообщение Дата
yujuiting df8b77daf1 feat(election): observe election 2018-04-06 00:22:18 +08:00
yujuiting 137a9066c4 fix(election): revoke lease after resign fail 2018-04-04 17:29:14 +08:00
yujuiting 40db9ab3ef fix(election): resign if error when waiting 2018-04-04 13:48:42 +08:00
yujuiting 4ae8e050da fix(election): revoke lease if resign fail 2018-04-04 13:45:17 +08:00
yujuiting dc033eff2c refactor(election): errors and remove redundant 2018-04-04 13:37:02 +08:00
yujuiting ed4bf1d014 refactor(election): refine 2018-04-03 17:14:26 +08:00
yujuiting fed182975d refactor(election): rename confusing variable 2018-03-23 16:43:04 +08:00
yujuiting a56d18e46d fix(election): only proclaim if value changed 2018-03-23 15:38:49 +08:00
yujuiting b6bb40d2e5 fix(election): allow custom ttl 2018-03-09 11:53:40 +08:00
yujuiting ebabd5749f test(election): more exception test 2018-03-09 11:33:12 +08:00
yujuiting 6234c823b2 feat(election): implmentation and unit test 2018-03-09 11:23:06 +08:00
Connor Peet f3282649f1 0.2.9 2018-02-09 23:06:19 -08:00
Connor Peet e9af4b55b3 fix(dep): actually lock grpc; apparently npm overwrite version constraints now 2018-02-09 23:06:08 -08:00
Connor Peet a9e53ecda0 0.2.8 2018-02-09 23:04:28 -08:00
Connor Peet 7a034e634f fix(dep): lock grpc to 1.8.0 2018-02-09 23:00:42 -08:00
Arthur Weber b71ea27c69 fix(client): allow mock.getConnection to return promises
* Adds dockerfile to create etcd3 instance easily

* ConnectionPool.getConnection should return Promise when mockImpl is defined
2018-02-09 16:06:33 -08:00
Connor Peet 6b887643ee
chore(docs): rebuild 2017-12-31 16:41:33 +10:00
Connor Peet d32a8eca81
0.2.7 2017-12-31 16:38:34 +10:00
Connor Peet d0b5f1e30d chore(dep): fixed npm corrupting the package-lock, again 2017-12-30 08:58:29 +10:00
Connor Peet 002a3794b7 fix(lease): when we detect a lease is lost by touching a key, mark the lease as revoked 2017-12-30 08:58:29 +10:00
Connor Peet 0af77b851c fix(lease): when a lease is lost, make sure the lease state is revoked 2017-12-30 08:58:29 +10:00
Connor Peet 7761d03399 fix(watcher): successive watchers failing 2017-12-30 08:58:29 +10:00
Connor Peet 05b85c3e40 0.2.6 2017-11-11 22:17:18 -08:00
Connor Peet 0521dabd30 chore(dep): add package.lock, now that npm5 is stable 2017-11-11 22:17:08 -08:00
Connor Peet f03cee5d3b fix(test): disable watcher test failing on grpc error 2017-11-11 22:09:45 -08:00
Connor Peet a200f6f40c debug 2017-11-11 22:09:45 -08:00
Connor Peet 7732880227 doc(changelog): add 0.2.6 notes 2017-11-11 22:09:45 -08:00
Connor Peet 8f2b7f73e1 feat(*): allow GRPC call options to be passed into operations 2017-11-11 22:09:45 -08:00
Connor Peet 8f0d60ef10 fix(watch): watchers sometimes replaying old data
Etcd handles this logic for us automatically, and it was causing issues as the
header referred to the key, not cluster, revision.
2017-11-11 22:09:45 -08:00
Connor Peet 834a3b50cc fix(rpc): pass auth credentials into duplex streams 2017-11-11 22:09:45 -08:00
Connor Peet cd5f75796c fix(typings): lock and stm typings not being exported 2017-11-11 22:09:45 -08:00
Connor Peet 268757f51e fix(codegen): call stack errors when regenerating proto fildes 2017-11-11 22:09:45 -08:00
Connor Peet bcf75e1a44 fix(watcher): debug code for flakey test 2017-10-15 21:19:56 -07:00
Connor Peet 66b1e9050b fix(watcher): failure restoring watchers if etcd revisions are very large 2017-10-15 20:47:01 -07:00
Connor Peet 6806a2d96e fix(stm): address PR comments, add thorough tests and fix bugs 2017-10-15 20:47:01 -07:00
Connor Peet c4793b2759 feat(stm): initial implementation of software transactional memory 2017-10-15 20:47:01 -07:00
Connor Peet 9127329963 feat(connection-pool): retry on expired auth token 2017-10-15 08:38:38 -07:00
Connor Peet da21cfc4af refactor(connection-pool): always prefer manual metadata, simplify singleton 2017-10-15 08:28:31 -07:00
Sebastien Ritz b60ae04a5e lint(connection-pool, simple-token): fixing linting errors 2017-10-13 11:41:40 +02:00
Sebastien Ritz 2330c48c39 test(connection-pool): allow insecure connection with auth 2017-10-13 11:34:41 +02:00
Sébastien Ritz 4026d189d0 Merge pull request #1 from reptilbud/allow-credentials-with-insecure-channel
Adding the possibility to connect with credentials over an insecure c…
2017-10-13 10:13:10 +02:00
Sebastien Ritz cad614ae8c Adding the possibility to connect with credentials over an insecure channel through a singleton having a metadata object containing the token 2017-10-13 10:06:04 +02:00
Connor Peet 5434b6621c doc(changelog): release 0.2.5 2017-09-30 11:09:04 -07:00
Connor Peet a678fa6763 0.2.5 2017-09-30 11:08:21 -07:00
Connor Peet 58c08be8d1 chore(*): update dependencies, formatting/linter 2017-09-30 11:05:20 -07:00
Connor Peet 378f7c5c73 feat(client): allow passing internal grpc options to the client 2017-09-30 11:02:23 -07:00
Connor Peet 8d7640c9e5 fix(watcher): queue watcher attachments, recover watchers from data wipes 2017-08-22 07:39:12 -07:00
Connor Peet c6dc06e231 fix(connection-pool): errors if no servers are available (fixes #7) 2017-08-22 07:39:12 -07:00
Connor Peet 7278b902a6
0.2.4 2017-08-02 10:07:31 -07:00
Connor Peet 5f322a7309 style(connection-pool): lint 2017-08-02 10:07:12 -07:00