python-etcd icon indicating copy to clipboard operation
python-etcd copied to clipboard

A python client for etcd

Results 55 python-etcd issues
Sort by recently updated
recently updated
newest added

When running this simple program: ``` python import etcd import sys if __name__ == "__main__": client = etcd.Client(port=2379) sys.exit() ``` I get an error when exiting. Other functions (read()) work...

EtcdWatchTimedOut seems raised in _wrap_request (client.py) ``` def _wrap_request(payload): ... except (HTTPError, HTTPException, socket.error) as e: if (isinstance(params, dict) and params.get("wait") == "true" and isinstance(e, ReadTimeoutError)): _log.debug("Watch timed out.") raise...

see below issue https://github.com/jplana/python-etcd/issues/268

In the `_acquired` function of `lock.py`, the code first sets a key, then calls `watch` with no timeout. If the lock is held by a peer who ever calls `renew()`,...

If an EtcdException occurs in lock.py:122, the while loop will fall into an infinite loop. In my case, "The event in requested index is outdated and cleared" exception occurs in...

code in client.py: def _discover(self, domain): srv_name = "_etcd._tcp.{}".format(domain) ... ... please refer to https://coreos.com/etcd/docs/latest/v2/clustering.html#dns-discovery there exists two types of DNS discovery configuration convention: like _etcd-server._tcp.example.com, _etcd-client._tcp.example.com for etcd client,...

If you happen to create a key on some node X and immediately do recursive read on another node Y, it's entirely possible for the key not to be there....

Since march 2017 that there isn't any new release. Even I am aware there haven't been many commits since then and that most of them are documentation related I think...