Setting up rocksdb.