diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-09-17 09:21:03 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-09-17 09:21:03 +0000 |
commit | 9b1e17420faf1210c653476c769f233ff779a112 (patch) | |
tree | 7485a41a46611e9ce20f9ce836774adfd39c4e45 | |
parent | 07ec935900606ecc3cfe2e3b66e8fe286b24e4ad (diff) | |
parent | 84bb5fbef5c98bdee344ac9d9739f035bd9a8f7b (diff) | |
download | tooz-9b1e17420faf1210c653476c769f233ff779a112.tar.gz |
Merge "Change inline docs about class fake storage variable"
-rw-r--r-- | tooz/drivers/zake.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tooz/drivers/zake.py b/tooz/drivers/zake.py index deb4430..1909a43 100644 --- a/tooz/drivers/zake.py +++ b/tooz/drivers/zake.py @@ -25,7 +25,11 @@ class ZakeDriver(zookeeper.KazooDriver): without the need of real ZooKeeper servers. """ - # here we need to pass *threading handler* as an argument + # NOTE(harlowja): this creates a shared backend 'storage' layer that + # would typically exist inside a zookeeper server, but since zake has + # no concept of a 'real' zookeeper server we create a fake one and share + # it among active clients to simulate zookeeper's consistent storage in + # a thread-safe manner. fake_storage = fake_storage.FakeStorage( fake_client.k_threading.SequentialThreadingHandler()) |