Skip to content

Commit 7a04f62

Browse files
committed
crimson/osd/pg: remove slightly confusing assert from PG::submit_transaction
This assert should always hold, so it's not wrong. However, osd_op_p.at_version is chosen during transaction construction time using the current epoch via PG::get_next_version. Asserting it here is more confusing than helpful. Signed-off-by: Samuel Just <[email protected]>
1 parent 2bd7c38 commit 7a04f62

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/crimson/osd/pg.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,6 @@ PG::submit_transaction(
811811
}
812812

813813
epoch_t map_epoch = get_osdmap_epoch();
814-
ceph_assert(!has_reset_since(osd_op_p.at_version.epoch));
815814

816815
peering_state.pre_submit_op(obc->obs.oi.soid, log_entries, osd_op_p.at_version);
817816
peering_state.update_trim_to();

0 commit comments

Comments
 (0)