updated c ingestexternalfileoptions for ingest behind

Summary: Closes https://github.com/facebook/rocksdb/pull/3151

Differential Revision: D6293861

Pulled By: ajkr

fbshipit-source-id: f8db0a71509d1cd8237f2d377bf9e1bb0464bdbf
main
kapitan-k 7 years ago committed by Facebook Github Bot
parent 93f69cb93a
commit f1c5eaba56
  1. 6
      db/c.cc
  2. 4
      include/rocksdb/c.h

@ -2962,6 +2962,12 @@ void rocksdb_ingestexternalfileoptions_set_allow_blocking_flush(
opt->rep.allow_blocking_flush = allow_blocking_flush; opt->rep.allow_blocking_flush = allow_blocking_flush;
} }
void rocksdb_ingestexternalfileoptions_set_ingest_behind(
rocksdb_ingestexternalfileoptions_t* opt,
unsigned char ingest_behind) {
opt->rep.ingest_behind = ingest_behind;
}
void rocksdb_ingestexternalfileoptions_destroy( void rocksdb_ingestexternalfileoptions_destroy(
rocksdb_ingestexternalfileoptions_t* opt) { rocksdb_ingestexternalfileoptions_t* opt) {
delete opt; delete opt;

@ -1169,6 +1169,10 @@ extern ROCKSDB_LIBRARY_API void
rocksdb_ingestexternalfileoptions_set_allow_blocking_flush( rocksdb_ingestexternalfileoptions_set_allow_blocking_flush(
rocksdb_ingestexternalfileoptions_t* opt, rocksdb_ingestexternalfileoptions_t* opt,
unsigned char allow_blocking_flush); unsigned char allow_blocking_flush);
extern ROCKSDB_LIBRARY_API void
rocksdb_ingestexternalfileoptions_set_ingest_behind(
rocksdb_ingestexternalfileoptions_t* opt,
unsigned char ingest_behind);
extern ROCKSDB_LIBRARY_API void rocksdb_ingestexternalfileoptions_destroy( extern ROCKSDB_LIBRARY_API void rocksdb_ingestexternalfileoptions_destroy(
rocksdb_ingestexternalfileoptions_t* opt); rocksdb_ingestexternalfileoptions_t* opt);

Loading…
Cancel
Save