summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/mmap_v1/data_file_sync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/data_file_sync.cpp')
-rw-r--r--src/mongo/db/storage/mmap_v1/data_file_sync.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/storage/mmap_v1/data_file_sync.cpp b/src/mongo/db/storage/mmap_v1/data_file_sync.cpp
index ab7dca95ff9..4d895c09b20 100644
--- a/src/mongo/db/storage/mmap_v1/data_file_sync.cpp
+++ b/src/mongo/db/storage/mmap_v1/data_file_sync.cpp
@@ -34,7 +34,6 @@
#include "mongo/db/client.h"
#include "mongo/db/commands/server_status_metric.h"
-#include "mongo/db/diag_log.h"
#include "mongo/db/operation_context.h"
#include "mongo/db/service_context.h"
#include "mongo/db/storage/mmap_v1/dur_journal.h"
@@ -66,7 +65,6 @@ void DataFileSync::run() {
}
int time_flushing = 0;
while (!globalInShutdownDeprecated()) {
- _diaglog.flush();
if (storageGlobalParams.syncdelay == 0) {
// in case at some point we add an option to change at runtime
sleepsecs(5);