If we get ENOENT on a collection_add that is a bad thing; do not ignore
the error. This was hiding #4071 for some time.
Signed-off-by: Sage Weil <sage@inktank.com>
if (r == -ENOENT && !(op == Transaction::OP_CLONERANGE ||
op == Transaction::OP_CLONE ||
- op == Transaction::OP_CLONERANGE2))
+ op == Transaction::OP_CLONERANGE2 ||
+ op == Transaction::OP_COLL_ADD))
// -ENOENT is normally okay
// ...including on a replayed OP_RMCOLL with !stable_commits
ok = true;