Skip to contentSkip to conversation

Missing include in src/rocksdb/db/builder.cc

DISCUSSION Willem Jan Withagen 1 participant 1 message Mar 16, 2016

lore
Share & tools
lore
#0 lore raw

I'm running into:

In file included from db/builder.cc:16:
In file included from ./db/compaction_iterator.h:14:
In file included from ./db/compaction.h:13:
./util/mutable_cf_options.h:28:21: error: no member named 'soft_pending_compaction_bytes_limit' in 'rocksdb::Options'; did you mean

      'hard_pending_compaction_bytes_limit'?
            options.soft_pending_compaction_bytes_limit),
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    hard_pending_compaction_bytes_limit
/usr/local/include/rocksdb/options.h:517:12: note: 'hard_pending_compaction_bytes_limit' declared here
  uint64_t hard_pending_compaction_bytes_limit;
           ^
Due to a missing:
	#include "util/options_helper.h"

Does anybody have experience with upstreaming this to Rocksdb for the version Ceph is using. I seem to remember somebody posting about this...

Thanx,
--WjW