mon: fix Session ref leak in handle_get_version

Signed-off-by: Sage Weil <sage@inktank.com>
mon: wait for PaxosService readable in handle_get_version

We were waiting for the election to finish, but we need to *also* wait for
paxos to recover.  Being a peon or leader is not sufficient and we may
return a map that is still old.

Fixes: #7997
Signed-off-by: Sage Weil <sage@inktank.com>
mon: OSDMonitor: HEALTH_WARN on 'mon osd down out interval == 0'

A 'status' or 'health' request will return a HEALTH_WARN whenever the
monitor handling the request has the option set to zero.

Fixes: 7784

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Merge pull request #1692 from ceph/wip-7784

mon: OSDMonitor: HEALTH_WARN on 'mon osd down out interval == 0'

Reviewed-by: Sage Weil <sage@inktank.com>
test: handle the create-pg delay when testing cache split syntax

Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
Merge pull request #1693 from ceph/wip-7997

mon: fix get_version race (more)

Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
Revert "ReplicatedPG::get_snapset_context: assert snap obj is not missing"

This breaks mark_lost_unfound_revert.

This reverts commit 0d2177a18071ad9c9581826a43751c36bab5b2db.
Merge remote-tracking branches 'origin/wip-sam-testing2', 'origin/wip-7942', 'origin/wip-8124', 'upstream/wip-7891', 'origin/wip-7588', 'origin/wip-8011', 'origin/wip-7439' and 'upstream/wip-8153' into wip-sam-testing