Made saving of the partition metadata to BTree asynchronous by using
ListenableFuture