New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mon: add a cache layer over MonitorDBStore #5698

Merged
1 commit merged into from Oct 20, 2015

Conversation

Projects
None yet
2 participants
@tchaikov
Contributor

tchaikov commented Aug 28, 2015

mon: add a cache layer over MonitorDBStore
the cache of of leveldb does not perform well under some condition,
so we need a cache in our own stack.

* add an option "mon_osd_cache_size" to control the size of cache size
  of MonitorDBStore.

Fixes: #12638
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 5e99a57)

Conflicts:
	src/mon/OSDMonitor.h
minor differences in OSDMonitor ctor

@tchaikov tchaikov added this to the firefly milestone Aug 28, 2015

@ghost ghost added bug fix core labels Aug 29, 2015

@ghost ghost self-assigned this Aug 29, 2015

ghost pushed a commit that referenced this pull request Oct 20, 2015

Merge pull request #5698: mon: add a cache layer over MonitorDBStore
Reviewed-by: Loic Dachary <ldachary@redhat.com>

ghost pushed a commit that referenced this pull request Oct 20, 2015

Loic Dachary
Merge pull request #5698 from tchaikov/wip-12638-firefly
mon: add a cache layer over MonitorDBStore

Reviewed-by: Loic Dachary <ldachary@redhat.com>

@ghost ghost merged commit 1c65d09 into ceph:firefly Oct 20, 2015

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment