mirror of https://github.com/facebook/rocksdb.git
Log user_defined_timestamps_persisted flag in event logger (#11683)
Summary: As titled, and also removed an undefined and unused member function in for ColumnFamilyData Pull Request resolved: https://github.com/facebook/rocksdb/pull/11683 Reviewed By: ajkr Differential Revision: D48156290 Pulled By: jowlyzhang fbshipit-source-id: cc99aaafe69db6611af3854cb2b2ebc5044941f7
This commit is contained in:
parent
e214964f40
commit
9c2ebcc2c3
|
@ -519,8 +519,6 @@ class ColumnFamilyData {
|
||||||
return file_metadata_cache_res_mgr_;
|
return file_metadata_cache_res_mgr_;
|
||||||
}
|
}
|
||||||
|
|
||||||
SequenceNumber GetFirstMemtableSequenceNumber() const;
|
|
||||||
|
|
||||||
static const uint32_t kDummyColumnFamilyDataId;
|
static const uint32_t kDummyColumnFamilyDataId;
|
||||||
|
|
||||||
// Keep track of whether the mempurge feature was ever used.
|
// Keep track of whether the mempurge feature was ever used.
|
||||||
|
|
|
@ -122,6 +122,8 @@ void EventHelpers::LogAndNotifyTableFileCreationFinished(
|
||||||
<< "column_family_name" << table_properties.column_family_name
|
<< "column_family_name" << table_properties.column_family_name
|
||||||
<< "column_family_id" << table_properties.column_family_id
|
<< "column_family_id" << table_properties.column_family_id
|
||||||
<< "comparator" << table_properties.comparator_name
|
<< "comparator" << table_properties.comparator_name
|
||||||
|
<< "user_defined_timestamps_persisted"
|
||||||
|
<< table_properties.user_defined_timestamps_persisted
|
||||||
<< "merge_operator" << table_properties.merge_operator_name
|
<< "merge_operator" << table_properties.merge_operator_name
|
||||||
<< "prefix_extractor_name"
|
<< "prefix_extractor_name"
|
||||||
<< table_properties.prefix_extractor_name << "property_collectors"
|
<< table_properties.prefix_extractor_name << "property_collectors"
|
||||||
|
|
|
@ -491,7 +491,6 @@ void StressTest::PreloadDbAndReopenAsReadOnly(int64_t number_of_keys,
|
||||||
|
|
||||||
const Slice v(value, sz);
|
const Slice v(value, sz);
|
||||||
|
|
||||||
|
|
||||||
std::string ts;
|
std::string ts;
|
||||||
if (FLAGS_user_timestamp_size > 0) {
|
if (FLAGS_user_timestamp_size > 0) {
|
||||||
ts = GetNowNanos();
|
ts = GetNowNanos();
|
||||||
|
|
|
@ -109,6 +109,10 @@ std::string TableProperties::ToString(const std::string& prop_delim,
|
||||||
AppendProperty(result, "comparator name",
|
AppendProperty(result, "comparator name",
|
||||||
comparator_name.empty() ? std::string("N/A") : comparator_name,
|
comparator_name.empty() ? std::string("N/A") : comparator_name,
|
||||||
prop_delim, kv_delim);
|
prop_delim, kv_delim);
|
||||||
|
AppendProperty(result, "user defined timestamps persisted",
|
||||||
|
user_defined_timestamps_persisted ? std::string("true")
|
||||||
|
: std::string("false"),
|
||||||
|
prop_delim, kv_delim);
|
||||||
|
|
||||||
AppendProperty(
|
AppendProperty(
|
||||||
result, "merge operator name",
|
result, "merge operator name",
|
||||||
|
|
Loading…
Reference in New Issue