SERVER-115623 Move 'read_preference_metrics.h' and 'single_transaction_stats.h' out of query module and mark visibility (#47740)
GitOrigin-RevId: 2d8e43ff9149df3660294dae80894acbdcd4d7b4
This commit is contained in:
parent
8bfff03f15
commit
d0c90fe570
@ -375,7 +375,8 @@ transactions:
|
||||
- src/mongo/db/commands/*session*
|
||||
- src/mongo/dbtests/logical_sessions_tests.cpp
|
||||
- src/mongo/s/client_transport_observer_mongos*
|
||||
- src/mongo/db/stats/read_preference_metrics.idl
|
||||
- src/mongo/db/stats/read_preference_metrics*
|
||||
- src/mongo/db/stats/single_transaction_stats*
|
||||
|
||||
fcv:
|
||||
meta:
|
||||
|
||||
@ -33,8 +33,9 @@
|
||||
#include "mongo/db/operation_context.h"
|
||||
#include "mongo/db/service_context.h"
|
||||
#include "mongo/db/stats/read_preference_metrics_gen.h"
|
||||
#include "mongo/util/modules.h"
|
||||
|
||||
namespace mongo {
|
||||
namespace MONGO_MOD_PUB mongo {
|
||||
|
||||
/**
|
||||
* Contains server-wide metrics on read preference usage. Metrics are first split into two
|
||||
@ -93,4 +94,4 @@ private:
|
||||
Counters secondaryCounters;
|
||||
};
|
||||
|
||||
} // namespace mongo
|
||||
} // namespace MONGO_MOD_PUB mongo
|
||||
|
||||
@ -41,6 +41,7 @@
|
||||
#include "mongo/rpc/metadata/client_metadata.h"
|
||||
#include "mongo/util/concurrency/ticketholder_queue_stats.h"
|
||||
#include "mongo/util/duration.h"
|
||||
#include "mongo/util/modules.h"
|
||||
#include "mongo/util/net/hostandport.h"
|
||||
#include "mongo/util/tick_source.h"
|
||||
#include "mongo/util/time_support.h"
|
||||
@ -51,7 +52,7 @@
|
||||
#include <boost/optional.hpp>
|
||||
#include <boost/optional/optional.hpp>
|
||||
|
||||
namespace mongo {
|
||||
namespace MONGO_MOD_PUB mongo {
|
||||
|
||||
/**
|
||||
* Tracks metrics for a single multi-document transaction.
|
||||
@ -346,4 +347,4 @@ private:
|
||||
TicketHolderQueueStats _queueStats;
|
||||
};
|
||||
|
||||
} // namespace mongo
|
||||
} // namespace MONGO_MOD_PUB mongo
|
||||
|
||||
Loading…
Reference in New Issue
Block a user