]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Remove bogus assert(active == acting.size()) 868/head
authorDavid Zafman <david.zafman@inktank.com>
Mon, 25 Nov 2013 20:57:19 +0000 (12:57 -0800)
committerDavid Zafman <david.zafman@inktank.com>
Mon, 25 Nov 2013 21:20:49 +0000 (13:20 -0800)
commit66f51f82d457f6d3170c47daed2ca3458b888df1
tree91b6fcebc8d41bbc160ae905e4a9371a119dfa49
parent5ccc2ecd30e82b7be475f848da162d5bd9a83c5c
osd: Remove bogus assert(active == acting.size())

We saw this assert because active is not correctly computed.
Remove assert and incorrectly computed active count.
We already use acting.size() to determine whether to set PG_STATE_DEGRADED.

Fixes: #6896
Signed-off-by: David Zafman <david.zafman@inktank.com>
src/osd/PG.cc