Noah Levitt
|
82faefde56
|
catch a failed service registry heartbeat, with unit test
|
2016-10-31 15:29:46 -07:00 |
|
Noah Levitt
|
92b8007f98
|
support calling ServiceRegistry.available_services() with no arguments to get all available services (services with a recent heartbeat)
|
2016-04-19 19:16:46 +00:00 |
|
Noah Levitt
|
1c07ae2ea9
|
make UTC a constant available externally
|
2015-11-17 20:42:57 +00:00 |
|
Noah Levitt
|
073c1fb578
|
some fixes to make the tests pass
|
2015-11-17 20:38:10 +00:00 |
|
Noah Levitt
|
447f23615f
|
convenience function rethinstuff.utcnow()
|
2015-11-17 20:06:51 +00:00 |
|
Noah Levitt
|
287258e104
|
add method available_services to ServiceRegistry, returns all services considered up for the supplied role
|
2015-11-06 23:42:06 +00:00 |
|
Noah Levitt
|
a0f5c4870f
|
add pid and first_heartbeat to service registry automatically
|
2015-11-02 21:20:46 +00:00 |
|
Noah Levitt
|
8a212327eb
|
fix number of replicas for services table
|
2015-10-31 01:10:47 +00:00 |
|
Noah Levitt
|
46a54357ad
|
return whole updated status_info dict from ServiceRegistry.heartbeat()
|
2015-10-31 00:33:06 +00:00 |
|
Noah Levitt
|
5570ca9241
|
service registry, with unit tests!
|
2015-10-30 19:50:33 +00:00 |
|
Noah Levitt
|
24edeb3247
|
support array slice notation https://rethinkdb.com/api/python/slice/
|
2015-09-29 22:07:50 +00:00 |
|
Noah Levitt
|
5ed8a7a050
|
RethinkerWrapper.__repr__
|
2015-09-23 00:31:31 +00:00 |
|
Noah Levitt
|
a377fd5305
|
only retry r.ReqlTimeoutError because creating a database with too many replicas or shards raises a r.ReqlAvailabilityError, which resulted in an infinite loop; add test for this case
|
2015-09-22 21:34:12 +00:00 |
|
Noah Levitt
|
c4314e6cdb
|
remove some debug logging
|
2015-09-22 01:06:25 +00:00 |
|
Noah Levitt
|
50df439706
|
make sure connection closes when it's supposed to
|
2015-09-21 23:30:43 +00:00 |
|
Noah Levitt
|
3b52b05329
|
rewrite Rethinker to mimic standard rethinkdb api; rename package rethinkstuff
|
2015-09-21 22:17:15 +00:00 |
|