On Mon, Oct 21, 2019 at 7:58 PM Stefan Kooman <ste...@bit.nl> wrote: > > Quoting Yan, Zheng (uker...@gmail.com): > > > I double checked the code, but didn't find any clue. Can you compile > > mds with a debug patch? > > Sure, I'll try to do my best to get a properly packaged Ceph Mimic > 13.2.6 with the debug patch in it (and / or get help to get it build). > Do you already have the patch (on github) somewhere? >
please apply following patch, thanks. diff --git a/src/mds/OpenFileTable.cc b/src/mds/OpenFileTable.cc index c0f72d581d..2ca737470d 100644 --- a/src/mds/OpenFileTable.cc +++ b/src/mds/OpenFileTable.cc @@ -470,7 +470,11 @@ void OpenFileTable::commit(MDSInternalContextBase *c, uint64_t log_seq, int op_p } if (omap_idx < 0) { ++omap_num_objs; - assert(omap_num_objs <= MAX_OBJECTS); + if (omap_num_objs > MAX_OBJECTS) { + dout(1) << "omap_num_objs " << omap_num_objs << dendl; + dout(1) << "anchor_map size " << anchor_map.size() << dendl; + assert(omap_num_objs <= MAX_OBJECTS); + } omap_num_items.resize(omap_num_objs); omap_updates.resize(omap_num_objs); omap_updates.back().clear = true; > Thanks, > > Stefan > > -- > | BIT BV https://www.bit.nl/ Kamer van Koophandel 09090351 > | GPG: 0xD14839C6 +31 318 648 688 / i...@bit.nl
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com