Skip to content

Commit

Permalink
Merge pull request #17626 from badone/wip-jewel-ceph-osd-flush-segfault
Browse files Browse the repository at this point in the history
jewel: core: kv: let ceph_logger destructed after db reset

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
  • Loading branch information
jdurgin committed Sep 18, 2017
2 parents 9552136 + 833c28e commit 2a525df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kv/LevelDBStore.cc
Expand Up @@ -143,10 +143,10 @@ LevelDBStore::~LevelDBStore()
{
close();
delete logger;
delete ceph_logger;

// Ensure db is destroyed before dependent db_cache and filterpolicy
db.reset();
delete ceph_logger;
}

void LevelDBStore::close()
Expand Down

0 comments on commit 2a525df

Please sign in to comment.