mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
crimson/onode-staged-tree: allow non-empty DeltaRecorder to be destructed
Fixes: http://tracker.ceph.com/issues/50028 Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
This commit is contained in:
parent
6049793368
commit
01a8c5a7f9
@ -18,7 +18,10 @@ namespace crimson::os::seastore::onode {
|
||||
class DeltaRecorder {
|
||||
public:
|
||||
virtual ~DeltaRecorder() {
|
||||
assert(is_empty());
|
||||
/* May be non-empty if transaction is abandoned without
|
||||
* being submitted -- conflicts are a particularly common
|
||||
* example (denoted generally by returning crimson::ct_error::eagain).
|
||||
*/
|
||||
}
|
||||
|
||||
bool is_empty() const {
|
||||
|
Loading…
Reference in New Issue
Block a user