cephe-tier forward mode hang in luminous
Hi all,
We found that cache-tier forward mode is hanging in luminous 12.2.1. It seems that the client is keep sending request to cache-tier's osd and the osd always replied redirect to client. This seems due to this patch:
I added “CEPH_OSD_FLAG_IGNORE_OVERLAY” to the op to force it skips cache-tier when client got redirect reply and it seems to work. Is there any potential issue of adding this flag here?
in src/osdc/Objecter.cc
void Objecter::handle_osd_op_reply(MOSDOpReply *m) {
…
…
if (m->is_redirect_reply()) {
…
op->target.flags |= (CEPH_OSD_FLAG_REDIRECTED | CEPH_OSD_FLAG_IGNORE_OVERLAY);
... }
}
Thanks,
TY Lin