szaszm commented on a change in pull request #716: MINIFICPP-1127 - Provenance
repo performance should be improved
URL: https://github.com/apache/nifi-minifi-cpp/pull/716#discussion_r372356539
##########
File path: extensions/rocksdb-repos/ProvenanceRepository.h
##########
@@ -99,9 +90,26 @@ class ProvenanceRepository : public core::Repository,
public std::enable_shared_
options.create_if_missing = true;
options.use_direct_io_for_flush_and_compaction = true;
options.use_direct_reads = true;
- rocksdb::Status status = rocksdb::DB::Open(options, directory_, &db_);
+ int64_t max_buffer_size = 16 << 20;
Review comment:
What's the origin of this constant: `16 << 20`? Code comment would be
appreciated.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services