summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorHaley Connelly <haley.connelly@mongodb.com>2023-04-18 10:22:09 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-18 10:59:11 +0000
commit87824ece4511770a9a3d34b89cf544de7596dd77 (patch)
treefeb1d7c066f2deed4dec4ae33a1f77cb037381ec /src/mongo
parent161833d910edeb582ebee62bec3d895313c25482 (diff)
downloadmongo-87824ece4511770a9a3d34b89cf544de7596dd77.tar.gz
SERVER-76049 Rename collection_markers files to collection_truncate_markers
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/change_collection_truncate_markers.h2
-rw-r--r--src/mongo/db/change_stream_pre_images_truncate_markers.h2
-rw-r--r--src/mongo/db/storage/SConscript4
-rw-r--r--src/mongo/db/storage/collection_truncate_markers.cpp (renamed from src/mongo/db/storage/collection_markers.cpp)2
-rw-r--r--src/mongo/db/storage/collection_truncate_markers.h (renamed from src/mongo/db/storage/collection_markers.h)0
-rw-r--r--src/mongo/db/storage/collection_truncate_markers_test.cpp (renamed from src/mongo/db/storage/collection_markers_test.cpp)2
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h2
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_truncate_markers.h2
8 files changed, 8 insertions, 8 deletions
diff --git a/src/mongo/db/change_collection_truncate_markers.h b/src/mongo/db/change_collection_truncate_markers.h
index 1da45896c2b..b60242cd260 100644
--- a/src/mongo/db/change_collection_truncate_markers.h
+++ b/src/mongo/db/change_collection_truncate_markers.h
@@ -29,7 +29,7 @@
#pragma once
-#include "mongo/db/storage/collection_markers.h"
+#include "mongo/db/storage/collection_truncate_markers.h"
/**
* Implementation of truncate markers for Change Collections. Respects the requirement of always
diff --git a/src/mongo/db/change_stream_pre_images_truncate_markers.h b/src/mongo/db/change_stream_pre_images_truncate_markers.h
index 810dfaf60d0..c71f33140fb 100644
--- a/src/mongo/db/change_stream_pre_images_truncate_markers.h
+++ b/src/mongo/db/change_stream_pre_images_truncate_markers.h
@@ -29,7 +29,7 @@
#pragma once
-#include "mongo/db/storage/collection_markers.h"
+#include "mongo/db/storage/collection_truncate_markers.h"
/**
* Implementation of truncate markers for the pre-images collection.
diff --git a/src/mongo/db/storage/SConscript b/src/mongo/db/storage/SConscript
index b7258d7da1c..a3b8418370b 100644
--- a/src/mongo/db/storage/SConscript
+++ b/src/mongo/db/storage/SConscript
@@ -67,7 +67,7 @@ env.Library(
env.Library(
target='record_store_base',
source=[
- 'collection_markers.cpp',
+ 'collection_truncate_markers.cpp',
'external_record_store.cpp',
'multi_bson_stream_cursor.cpp',
'named_pipe_posix.cpp' if not env.TargetOSIs('windows') else [],
@@ -540,7 +540,7 @@ env.Library(
env.CppUnitTest(
target='db_storage_test',
source=[
- 'collection_markers_test.cpp',
+ 'collection_truncate_markers_test.cpp',
'external_record_store_test.cpp',
'disk_space_monitor_test.cpp',
'flow_control_test.cpp',
diff --git a/src/mongo/db/storage/collection_markers.cpp b/src/mongo/db/storage/collection_truncate_markers.cpp
index 4a2a6f05c13..ffd452f5c36 100644
--- a/src/mongo/db/storage/collection_markers.cpp
+++ b/src/mongo/db/storage/collection_truncate_markers.cpp
@@ -27,7 +27,7 @@
* it in the license file.
*/
-#include "mongo/db/storage/collection_markers.h"
+#include "mongo/db/storage/collection_truncate_markers.h"
#include "mongo/db/operation_context.h"
#include "mongo/db/storage/storage_parameters_gen.h"
diff --git a/src/mongo/db/storage/collection_markers.h b/src/mongo/db/storage/collection_truncate_markers.h
index 05ce2590918..05ce2590918 100644
--- a/src/mongo/db/storage/collection_markers.h
+++ b/src/mongo/db/storage/collection_truncate_markers.h
diff --git a/src/mongo/db/storage/collection_markers_test.cpp b/src/mongo/db/storage/collection_truncate_markers_test.cpp
index cd012d18865..f87f155a0f0 100644
--- a/src/mongo/db/storage/collection_markers_test.cpp
+++ b/src/mongo/db/storage/collection_truncate_markers_test.cpp
@@ -27,7 +27,7 @@
* it in the license file.
*/
-#include "mongo/db/storage/collection_markers.h"
+#include "mongo/db/storage/collection_truncate_markers.h"
#include "mongo/db/storage/storage_engine_test_fixture.h"
#include "mongo/unittest/unittest.h"
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h
index ac58df8db37..7f56cea4b46 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h
@@ -35,7 +35,7 @@
#include <wiredtiger.h>
#include "mongo/db/catalog/capped_visibility.h"
-#include "mongo/db/storage/collection_markers.h"
+#include "mongo/db/storage/collection_truncate_markers.h"
#include "mongo/db/storage/record_store.h"
#include "mongo/db/storage/wiredtiger/wiredtiger_cursor.h"
#include "mongo/db/storage/wiredtiger/wiredtiger_kv_engine.h"
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_truncate_markers.h b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_truncate_markers.h
index 825c930647b..78e7f2a2f90 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_truncate_markers.h
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_oplog_truncate_markers.h
@@ -31,7 +31,7 @@
#include <boost/optional.hpp>
-#include "mongo/db/storage/collection_markers.h"
+#include "mongo/db/storage/collection_truncate_markers.h"
#include "mongo/db/storage/wiredtiger/wiredtiger_record_store.h"
#include "mongo/platform/atomic_word.h"
#include "mongo/platform/mutex.h"