summaryrefslogtreecommitdiff
path: root/storage/rocksdb/properties_collector.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2018-08-28 08:23:44 +0000
committerSergei Petrunia <psergey@askmonty.org>2018-08-28 08:23:44 +0000
commitfaa4d8f8c6c12c09541c4733773ac700c5e643cf (patch)
treee98b7393973b010f7307595a04ce4a46d4108754 /storage/rocksdb/properties_collector.h
parent445e518bc7aa5f4bb48d98e798905c9c0b0ce673 (diff)
downloadmariadb-git-faa4d8f8c6c12c09541c4733773ac700c5e643cf.tar.gz
Copy of
commit de1e8c7bfe7c875ea284b55040e8f3cd3a56fcc2 Author: Abhinav Sharma <abhinavsharma@fb.com> Date: Thu Aug 23 14:34:39 2018 -0700 Log updates to semi-sync whitelist in the error log Summary: Plugin variable changes are not logged in the error log even when log_global_var_changes is enabled. Logging updates to whitelist will help in debugging. Reviewed By: guokeno0 Differential Revision: D9483807 fbshipit-source-id: e111cda773d
Diffstat (limited to 'storage/rocksdb/properties_collector.h')
-rw-r--r--storage/rocksdb/properties_collector.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/rocksdb/properties_collector.h b/storage/rocksdb/properties_collector.h
index 1441d893420..c4a48265a50 100644
--- a/storage/rocksdb/properties_collector.h
+++ b/storage/rocksdb/properties_collector.h
@@ -118,7 +118,7 @@ public:
const rocksdb::Slice &value,
rocksdb::EntryType type,
rocksdb::SequenceNumber seq,
- uint64_t file_size);
+ uint64_t file_size) override;
virtual rocksdb::Status
Finish(rocksdb::UserCollectedProperties *properties) override;
@@ -164,6 +164,7 @@ private:
uint64_t m_file_size;
Rdb_compact_params m_params;
Rdb_tbl_card_coll m_cardinality_collector;
+ bool m_recorded;
};
class Rdb_tbl_prop_coll_factory