Skip to content

Commit

Permalink
Merge pull request ceph#56924 from markhpc/wip-ectransaction-truncate…
Browse files Browse the repository at this point in the history
…-fix

osd/ECTransaction: Remove incorrect asserts in generate_transactions

Reviewed-by: Samuel Just <[email protected]>
  • Loading branch information
yuriw authored May 3, 2024
2 parents b36fb89 + c6eb35b commit 9a41cd7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/osd/ECTransaction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,6 @@ void ECTransaction::generate_transactions(
xattr_rollback[ECUtil::get_hinfo_key()] = old_hinfo;

if (op.is_none() && op.truncate && op.truncate->first == 0) {
ceph_assert(op.truncate->first == 0);
ceph_assert(op.truncate->first ==
op.truncate->second);
ceph_assert(entry);
ceph_assert(obc);

Expand Down

0 comments on commit 9a41cd7

Please sign in to comment.