It wouldn't actually be wrong for the primary to trim the log right up
to the pg_committed_to bound it is propagating (though it generally
won't).
Signed-off-by: Samuel Just <sjust@redhat.com>
ObjectStore::Transaction &t,
bool async = false) override {
if (is_primary()) {
- ceph_assert(trim_to <= recovery_state.get_pg_committed_to());
+ ceph_assert(trim_to <= pg_committed_to);
}
if (hset_history) {
recovery_state.update_hset(*hset_history);