]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/orchestrator: Add cache for Inventory and Services
authorSebastian Wagner <sebastian.wagner@suse.com>
Wed, 22 May 2019 13:33:24 +0000 (15:33 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 12 Jul 2019 07:31:40 +0000 (09:31 +0200)
commitf49a8751851328c94ad5acaab8fd70ddda56f9d3
tree2fe217248d4db0aadcce9f13cc7afc4171119cd8
parent7910bd6f02593061a72f8f142206be91989ef8e0
mgr/orchestrator: Add cache for Inventory and Services

mgr/mgr_module: Added persistent dict
  basically a pythonic interface for a k-v store
mgr/orchestrator: Added common code to implement a cache
mgr/ssh: The cache works by manually adding and removing hosts.
  only the data is invalidated
mgr/deepsea: The cache invalidates all at once and only
  valid objects are cache

Fixes https://tracker.ceph.com/issues/39990

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/deepsea/module.py
src/pybind/mgr/mgr_module.py
src/pybind/mgr/orchestrator.py
src/pybind/mgr/rook/module.py
src/pybind/mgr/selftest/module.py
src/pybind/mgr/ssh/module.py
src/pybind/mgr/test_orchestrator/module.py