YCSB icon indicating copy to clipboard operation
YCSB copied to clipboard

How do I configure rocksdb to enable zenfs?

Open Watermelon12345 opened this issue 3 years ago • 2 comments

How do I configure rocksdb to enable zenfs?

Our rocksdb uses zenfs as storage backend. At present, we have been able to package rocksdb integrated with zenfs into a jar package and use ycsb for testing.

There are two issues to determine here:

  1. How to configure and enable zenfs?
  2. How to confirm that the current data is written through zenfs?

We have made the following configuration in rocksdb_optionsfile, it doesn't seem to work. [ [DBOptions] fs_uri=zenfs://dev:nvme0n1 ]

Looking forward to your reply. thanks.

Watermelon12345 avatar Nov 22 '22 09:11 Watermelon12345

you need the rocksdb.optionsfile property to point to the options file location. that addition landed just after our last release, so it isn't in a released version yet.

you up for testing out rocksdb in a release candidate?

busbey avatar Nov 28 '22 15:11 busbey

Thanks for your reply.

The version of ycsb we used for testing is ycsb-rocksdb-binding-0.17.0. how do I configure environment variable (such as Zenfs) ?

Watermelon12345 avatar Nov 29 '22 10:11 Watermelon12345