mirror of
https://github.com/ceph/ceph
synced 2025-01-20 18:21:57 +00:00
os/bluestore: do not leak when using EnvMirror
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
2a4b87f33c
commit
85fc102895
@ -3052,7 +3052,7 @@ int BlueStore::_open_db(bool create)
|
||||
int r = system(cmd.c_str());
|
||||
(void)r;
|
||||
}
|
||||
env = new rocksdb::EnvMirror(b, a);
|
||||
env = new rocksdb::EnvMirror(b, a, false, true);
|
||||
} else {
|
||||
env = new BlueRocksEnv(bluefs);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user