lordgamez commented on code in PR #1490:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1490#discussion_r1132244363
##########
extensions/rocksdb-repos/database/OpenRocksDb.cpp:
##########
@@ -118,8 +114,15 @@ rocksdb::DB* OpenRocksDb::get() {
return impl_.get();
}
-} // namespace internal
-} // namespace minifi
-} // namespace nifi
-} // namespace apache
-} // namespace org
+std::optional<uint64_t> OpenRocksDb::getApproximateSizes() const {
+ const rocksdb::SizeApproximationOptions options{ .include_memtabtles = true
};
+ const rocksdb::Range range("", "~");
Review Comment:
Good point, I suppose it's possible to have a path like this, updated in
2c1c6841b84cd569185323665d9d927a029396e9
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]