Storage Engine API
mongo::StorageGlobalParams Struct Reference

#include <storage_options.h>

Public Attributes

std::string engine = "wiredTiger"
 
bool engineSetByUser = false
 
std::string dbpath = kDefaultDbPath
 
bool upgrade = false
 
bool repair = false
 
std::string repairpath
 
bool dur = (sizeof(void*) == 8)
 
AtomicInt32 journalCommitIntervalMs
 
AtomicBool noTableScan {false}
 
bool directoryperdb = false
 
AtomicDouble syncdelay {60.0}
 
bool readOnly = false
 
bool groupCollections = false
 

Static Public Attributes

static const char * kDefaultDbPath = "/data/db"
 The directory where the mongod instance stores its data. More...
 
static const char * kDefaultConfigDbPath = "/data/configdb"
 
static const int kMaxJournalCommitIntervalMs = 500
 
static const double kMaxSyncdelaySecs = 9.0 * 1000.0 * 1000.0
 

Member Data Documentation

◆ dbpath

std::string mongo::StorageGlobalParams::dbpath = kDefaultDbPath

◆ directoryperdb

bool mongo::StorageGlobalParams::directoryperdb = false

◆ dur

bool mongo::StorageGlobalParams::dur = (sizeof(void*) == 8)

◆ engine

std::string mongo::StorageGlobalParams::engine = "wiredTiger"

◆ engineSetByUser

bool mongo::StorageGlobalParams::engineSetByUser = false

◆ groupCollections

bool mongo::StorageGlobalParams::groupCollections = false

◆ journalCommitIntervalMs

AtomicInt32 mongo::StorageGlobalParams::journalCommitIntervalMs

◆ kDefaultConfigDbPath

const char * mongo::StorageGlobalParams::kDefaultConfigDbPath = "/data/configdb"
static

◆ kDefaultDbPath

const char * mongo::StorageGlobalParams::kDefaultDbPath = "/data/db"
static

The directory where the mongod instance stores its data.

◆ kMaxJournalCommitIntervalMs

const int mongo::StorageGlobalParams::kMaxJournalCommitIntervalMs = 500
static

◆ kMaxSyncdelaySecs

const double mongo::StorageGlobalParams::kMaxSyncdelaySecs = 9.0 * 1000.0 * 1000.0
static

◆ noTableScan

AtomicBool mongo::StorageGlobalParams::noTableScan {false}

◆ readOnly

bool mongo::StorageGlobalParams::readOnly = false

◆ repair

bool mongo::StorageGlobalParams::repair = false

◆ repairpath

std::string mongo::StorageGlobalParams::repairpath

◆ syncdelay

AtomicDouble mongo::StorageGlobalParams::syncdelay {60.0}

◆ upgrade

bool mongo::StorageGlobalParams::upgrade = false

The documentation for this struct was generated from the following files: