Skip to content

Commit 9a41cd7

Browse files
authored
Merge pull request ceph#56924 from markhpc/wip-ectransaction-truncate-fix
osd/ECTransaction: Remove incorrect asserts in generate_transactions Reviewed-by: Samuel Just <[email protected]>
2 parents b36fb89 + c6eb35b commit 9a41cd7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/osd/ECTransaction.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ void ECTransaction::generate_transactions(
193193
xattr_rollback[ECUtil::get_hinfo_key()] = old_hinfo;
194194

195195
if (op.is_none() && op.truncate && op.truncate->first == 0) {
196-
ceph_assert(op.truncate->first == 0);
197-
ceph_assert(op.truncate->first ==
198-
op.truncate->second);
199196
ceph_assert(entry);
200197
ceph_assert(obc);
201198

0 commit comments

Comments
 (0)