]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: up != acting okay on mkpg
authorSage Weil <sage@inktank.com>
Fri, 14 Dec 2012 00:26:43 +0000 (16:26 -0800)
committerSage Weil <sage@inktank.com>
Fri, 14 Dec 2012 00:27:09 +0000 (16:27 -0800)
commitc9894ff0e5782e43d5efa457d5bff5a9b2312274
treed0a40a50434d14319ee98535307d934453fc7e06
parente3ed28eb2d33cf8c5bc8a36af919e6a8e566ad6b
osd: up != acting okay on mkpg

This can happen when:

 - mon sends create pg
 - it gets created
 - osd remaps the pg to a different osd
     but osd does not update pg status to the mon
 - mkpg resent to the new osd

or something along those lines.  It seems unusual, but in the end who
really cares why the mon doesn't know about the pg creation yet.

Note that this check was added in the initial commit where acting/up was
added; there is no specific condition of concern we are protecting against.

Instead, ignore the message.  We'll get a query soon anwyay.

This 'fixes' #3614.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
src/osd/OSD.cc