]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: enable running modules in standby mode
authorJohn Spray <john.spray@redhat.com>
Wed, 16 Aug 2017 14:23:59 +0000 (10:23 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 1 Nov 2017 23:03:28 +0000 (23:03 +0000)
commit977583eba266df834a7e27516cacb750bf7121ec
treead83f98f1b6a092c13b4d16ed199a60700c77309
parent6a35a96ea838760945073b756ea7ae13e9a68ccf
mgr: enable running modules in standby mode

Modules can implement a second, separate class
that has access to very little state about the
system and can't implement commands.

They have just enough information to redirect
or forward incoming requests/traffic to the
active instance of the module on the active mgr.

This enables module authors to create modules
that end users can access via any (running) mgr node
at any time, rather than having to first work out
which mgr node is active.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 25566d1edca638bd15b3ba3326ee7e4d3e573cbb)
src/CMakeLists.txt