diff options
author | Adam C. Emerson <aemerson@redhat.com> | 2018-08-23 17:21:04 +0200 |
---|---|---|
committer | Adam C. Emerson <aemerson@redhat.com> | 2018-08-27 15:35:43 +0200 |
commit | 1bc987ac9254d9fa35cfcb614d9cfacd628c732b (patch) | |
tree | fa41283b9c77152a5e40006bc2f98010c2336280 /src/rgw/rgw_period_history.cc | |
parent | mon: Use ceph_assert for asserts. (diff) | |
download | ceph-1bc987ac9254d9fa35cfcb614d9cfacd628c732b.tar.xz ceph-1bc987ac9254d9fa35cfcb614d9cfacd628c732b.zip |
rgw: Use ceph_assert for asserts.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Diffstat (limited to 'src/rgw/rgw_period_history.cc')
-rw-r--r-- | src/rgw/rgw_period_history.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_period_history.cc b/src/rgw/rgw_period_history.cc index 1f0dbee1cd0..d11cb3c356b 100644 --- a/src/rgw/rgw_period_history.cc +++ b/src/rgw/rgw_period_history.cc @@ -303,7 +303,7 @@ Cursor RGWPeriodHistory::Impl::insert_locked(RGWPeriod&& period) RGWPeriodHistory::Impl::Set::iterator RGWPeriodHistory::Impl::merge(Set::iterator dst, Set::iterator src) { - assert(dst->get_newest_epoch() + 1 == src->get_oldest_epoch()); + ceph_assert(dst->get_newest_epoch() + 1 == src->get_oldest_epoch()); // always merge into current_history if (src == current_history) { |