mirror of https://github.com/mongodb/mongo
SERVER-115030: move src/mongo/db/commands/test_commands.* to server-storage-execution module (#44918)
GitOrigin-RevId: 8b8c625da4e35ba3ea12edfff1351f3296e5a765
This commit is contained in:
parent
c8c70d5a1f
commit
f0c643c398
|
|
@ -1937,6 +1937,7 @@ WORKSPACE.bazel @10gen/devprod-build @svc-auto-approve-bot
|
|||
/src/mongo/db/commands/**/killoperations* @10gen/server-programmability @svc-auto-approve-bot
|
||||
/src/mongo/db/commands/**/shutdown* @10gen/server-programmability @svc-auto-approve-bot
|
||||
/src/mongo/db/commands/**/sleep_command.* @10gen/server-programmability @svc-auto-approve-bot
|
||||
/src/mongo/db/commands/**/test_commands.* @10gen/server-storage-engine-integration @svc-auto-approve-bot
|
||||
/src/mongo/db/commands/**/test_commands_enabled.* @10gen/server-programmability @svc-auto-approve-bot
|
||||
/src/mongo/db/commands/**/user_management_commands* @10gen/server-security @svc-auto-approve-bot
|
||||
/src/mongo/db/commands/**/search_* @10gen/query-integration-search @svc-auto-approve-bot
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ core.commands:
|
|||
- src/mongo/db/commands/shutdown.*
|
||||
- src/mongo/db/commands/shutdown_d.cpp
|
||||
- src/mongo/db/commands/sleep_command.cpp
|
||||
- src/mongo/db/commands/test_commands[._]*
|
||||
- src/mongo/db/commands/test_commands_enabled*
|
||||
- src/mongo/db/commands/generic.*
|
||||
- src/mongo/db/commands/generic_servers.*
|
||||
- src/mongo/db/commands/parameters.*
|
||||
|
|
@ -857,6 +857,7 @@ storage_engine_integration:
|
|||
- src/mongo/db/index_repair*
|
||||
- src/mongo/db/commands/fsync*
|
||||
- src/mongo/db/commands/dbcommands*
|
||||
- src/mongo/db/commands/test_commands.*
|
||||
- src/mongo/db/commands/resize_oplog*
|
||||
- src/mongo/db/op_observer/batched_write*
|
||||
- src/mongo/db/stats/storage_stats*
|
||||
|
|
|
|||
|
|
@ -39,6 +39,9 @@ filters:
|
|||
- "sleep_command.*":
|
||||
approvers:
|
||||
- 10gen/server-programmability
|
||||
- "test_commands.*":
|
||||
approvers:
|
||||
- 10gen/server-storage-engine-integration
|
||||
- "test_commands_enabled.*":
|
||||
approvers:
|
||||
- 10gen/server-programmability
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
#include "mongo/bson/timestamp.h"
|
||||
#include "mongo/db/operation_context.h"
|
||||
#include "mongo/db/storage/durable_history_pin.h"
|
||||
#include "mongo/util/modules.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
|
@ -44,7 +45,7 @@ namespace mongo {
|
|||
* oldest timestamp and perform a write into `mdb_testing.pinned_timestamp`. This hook knows how to
|
||||
* read that collection and re-pin any history requests after a restart or across rollback.
|
||||
*/
|
||||
class TestingDurableHistoryPin : public DurableHistoryPin {
|
||||
class MONGO_MOD_PUBLIC TestingDurableHistoryPin : public DurableHistoryPin {
|
||||
public:
|
||||
std::string getName() override;
|
||||
boost::optional<Timestamp> calculatePin(OperationContext* opCtx) override;
|
||||
|
|
|
|||
Loading…
Reference in New Issue