westerndigitalcorporation / zenfs

ZenFS is a storage backend for RocksDB that enables support for ZNS SSDs and SMR HDDs.
GNU General Public License v2.0
235 stars 86 forks source link

Compilation terminated due to include "trace_replay/io_tracer.h" #259

Closed kekeMemory closed 1 year ago

kekeMemory commented 1 year ago

Excuse me, I modified the fs/zenfs code before and compiled it without any problems. I ran the compile directive as usual:DEBUG_LEVEL=0 ROCKSDB_PLUGINS=zenfs make -j48 db_bench install But, today I suddenly met this problem arose. I did not fix other folder codes expect /fs/zenfs I met the errors: 20230222205547

MaisenbacherD commented 1 year ago

Hi @kekeMemory, That looks like a RocksDB related issue. Which commit of RocksDB did you check out?

kekeMemory commented 1 year ago

Thanks,@MaisenbacherD, I used 7.7.3 RocksDB always, and I can successfully compileing in the past, I never met this problem before.

MaisenbacherD commented 1 year ago

I just cloned RocksDB v7.7.3 with ZenFS master and could sucessfully build both. Can you please check that your local RocksDB tree is matching with upstream v7.7.3? :)

kekeMemory commented 1 year ago

@MaisenbacherD Yes, I have checked my current local RocksDB tree is matching with upstream v7.7.3

MaisenbacherD commented 1 year ago

What are the exact commits of RocksDB and ZenFS you are trying to build?

kekeMemory commented 1 year ago

@MaisenbacherD sudo DEBUG_LEVEL=0 ROCKSDB_PLUGINS=zenfs make -j48 db_bench install

kekeMemory commented 1 year ago

@MaisenbacherD Thanks I install new rocksdb again, then it can work.