[ceph-users] PG::peek_map_epoch assertion fail

Brad Hubbard bhubbard at redhat.com
Sun Dec 3 15:32:58 PST 2017


A debug log captured when this happens with debug_osd set to at least
15 should tell us.

On Sun, Dec 3, 2017 at 10:54 PM, Gonzalo Aguilar Delgado
<gaguilar at aguilardelgado.com> wrote:
> Hello,
>
> What can make fail this assertion?
>
>
>   int r = store->omap_get_values(coll, pgmeta_oid, keys, &values);
>   if (r == 0) {
>     assert(values.size() == 2); <<<<------
>
>      0> 2017-12-03 13:39:29.497091 7f467ba0b8c0 -1 osd/PG.cc: In function
> 'static int PG::peek_map_epoch(ObjectStore*, spg_t, epoch_t*,
> ceph::bufferlist*)' thread 7f467ba0b8c0 time 2017-12-03 13:39:29.495311
> osd/PG.cc: 3025: FAILED assert(values.size() == 2)
>
> It seems that's the cause of all the troubles I'm finding.
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



-- 
Cheers,
Brad


More information about the ceph-users mailing list