diff --git a/documentation/sphinx/source/mr-status-json-schemas.rst.inc b/documentation/sphinx/source/mr-status-json-schemas.rst.inc index 024dc095ae..d4511c6864 100644 --- a/documentation/sphinx/source/mr-status-json-schemas.rst.inc +++ b/documentation/sphinx/source/mr-status-json-schemas.rst.inc @@ -447,7 +447,6 @@ ], "recovery_state":{ "time_since_last_recovered":1, - "number_of_old_generations_of_tlogs":1, "required_resolvers":1, "required_proxies":1, "required_grv_proxies":1, diff --git a/fdbclient/Schemas.cpp b/fdbclient/Schemas.cpp index ca851fcbbb..0d768ebdc6 100644 --- a/fdbclient/Schemas.cpp +++ b/fdbclient/Schemas.cpp @@ -483,7 +483,6 @@ const KeyRef JSONSchemas::statusSchema = LiteralStringRef(R"statusSchema( R"statusSchema( "recovery_state":{ "time_since_last_recovered":1, - "number_of_old_generations_of_tlogs":1, "required_resolvers":1, "required_proxies":1, "required_grv_proxies":1, diff --git a/fdbserver/Status.actor.cpp b/fdbserver/Status.actor.cpp index 647856f651..925bc6c0f7 100644 --- a/fdbserver/Status.actor.cpp +++ b/fdbserver/Status.actor.cpp @@ -1048,15 +1048,12 @@ ACTOR static Future recoveryStateStatusFetcher(Database cx, W const TraceEventFields& dbAvailableMsg = mDBAvailableF.get(); if (dbAvailableMsg.size() > 0) { int64_t availableAtVersion = dbAvailableMsg.getInt64("AvailableAtVersion"); - int numOfOldGensOfLogs = dbAvailableMsg.getInt("NumOfOldGensOfLogs"); if (!rv.isError()) { double lastRecoveredSecondsAgo = std::max((int64_t)0, (int64_t)(rv.get() - availableAtVersion)) / (double)SERVER_KNOBS->VERSIONS_PER_SECOND; message["time_since_last_recovered"] = lastRecoveredSecondsAgo; } - message["number_of_old_generations_of_tlogs"] = numOfOldGensOfLogs; } else { message["time_since_last_db_turned_available_seconds"] = -1; - message["number_of_old_generations_of_tlogs"] = -1; } // Add additional metadata for certain statuses diff --git a/fdbserver/masterserver.actor.cpp b/fdbserver/masterserver.actor.cpp index 71b35a9d46..bc50d9c055 100644 --- a/fdbserver/masterserver.actor.cpp +++ b/fdbserver/masterserver.actor.cpp @@ -1690,7 +1690,6 @@ ACTOR Future masterCore( Reference self ) { .trackLatest("MasterRecoveryState"); TraceEvent("MasterRecoveryAvailable", self->dbgid) - .detail("NumOfOldGensOfLogs", self->cstate.myDBState.oldTLogData.size()) .detail("AvailableAtVersion", self->version) .trackLatest("MasterRecoveryAvailable");