Feature/5388 retry do set replica gen and trans id on couch backend 2