reseting a txn doesnt really create a new one semantically.
avoid incrementing "created" on reset, otherwise we end up
with inflated numbers where MUTATE txn created count
is twice as higher than committed.
Note, "resets" are already tracked as invalidated.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
LOG_PREFIX(Cache::reset_transaction_preserve_handle);
if (t.did_reset()) {
SUBDEBUGT(seastore_t, "reset", t);
- ++(get_by_src(stats.trans_created_by_src, t.get_src()));
}
t.reset_preserve_handle();
}