1
0
Fork 0
arangodb/arangod/MMFiles
Dan Larkin-York a83c2323c9 Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
..
CMakeLists.txt
MMFilesAllocatorThread.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesAllocatorThread.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesCleanupThread.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesCleanupThread.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesCollection.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesCollection.h Bug fix/issue #9612 (#9764) 2019-08-20 19:34:23 +03:00
MMFilesCollectionExport.cpp Feature/set environment (#9688) 2019-08-13 09:18:16 +02:00
MMFilesCollectionExport.h
MMFilesCollectionKeys.cpp Feature/cleanup ccpcheck (#9665) 2019-08-12 11:11:49 +02:00
MMFilesCollectionKeys.h
MMFilesCollectionWriteLocker.h
MMFilesCollectorCache.h Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesCollectorThread.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesCollectorThread.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesCompactionFeature.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesCompactionFeature.h
MMFilesCompactionLocker.h
MMFilesCompactorThread.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesCompactorThread.h
MMFilesDatafile.cpp Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesDatafile.h
MMFilesDatafileHelper.h Feature/cleanup ccpcheck (#9665) 2019-08-12 11:11:49 +02:00
MMFilesDatafileStatistics.cpp Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesDatafileStatistics.h
MMFilesDatafileStatisticsContainer.cpp
MMFilesDatafileStatisticsContainer.h Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesDitch.cpp Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesDitch.h Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesDocumentOperation.cpp
MMFilesDocumentOperation.h Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesDocumentPosition.h
MMFilesEdgeIndex.cpp Non block modify (#9963) 2019-09-11 15:37:02 +02:00
MMFilesEdgeIndex.h
MMFilesEngine.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesEngine.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesExportCursor.cpp
MMFilesExportCursor.h
MMFilesFulltextIndex.cpp Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesFulltextIndex.h
MMFilesGeoIndex.cpp Add support for WGS84 on distances (#9672) 2019-08-12 13:05:56 +02:00
MMFilesGeoIndex.h
MMFilesHashIndex.cpp Bug fix/issue #9612 (#9764) 2019-08-20 19:34:23 +03:00
MMFilesHashIndex.h Feature/cleanup ccpcheck (#9665) 2019-08-12 11:11:49 +02:00
MMFilesIncrementalSync.h honor return values of important methods (#9859) 2019-08-30 23:11:19 +02:00
MMFilesIndex.cpp
MMFilesIndex.h
MMFilesIndexElement.cpp
MMFilesIndexElement.h
MMFilesIndexFactory.cpp Feature/split libarangoserver (#9670) 2019-09-05 09:37:12 +02:00
MMFilesIndexFactory.h
MMFilesIndexLookupContext.cpp
MMFilesIndexLookupContext.h
MMFilesLogfileManager.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesLogfileManager.h bug-fix/internal-issue-#609 (#9464) 2019-07-19 11:10:56 +03:00
MMFilesOptimizerRules.cpp De-inline in AQL (#10025) 2019-09-25 11:20:03 +02:00
MMFilesOptimizerRules.h one shard db - devel (#9395) 2019-09-23 15:48:37 +02:00
MMFilesPathBasedIndex.cpp Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesPathBasedIndex.h
MMFilesPersistentIndex.cpp
MMFilesPersistentIndex.h
MMFilesPersistentIndexFeature.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesPersistentIndexFeature.h
MMFilesPersistentIndexKeyComparator.cpp
MMFilesPersistentIndexKeyComparator.h
MMFilesPrimaryIndex.cpp
MMFilesPrimaryIndex.h
MMFilesRemoverThread.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesRemoverThread.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesRestCollectionHandler.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesRestCollectionHandler.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesRestExportHandler.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesRestExportHandler.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesRestHandlers.cpp
MMFilesRestHandlers.h
MMFilesRestReplicationHandler.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesRestReplicationHandler.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesRestWalHandler.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesRestWalHandler.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesRevisionsCache.cpp
MMFilesRevisionsCache.h
MMFilesSkiplist.h Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesSkiplistIndex.cpp
MMFilesSkiplistIndex.h
MMFilesSynchronizerThread.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesSynchronizerThread.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesTransactionCollection.cpp
MMFilesTransactionCollection.h
MMFilesTransactionContextData.cpp
MMFilesTransactionContextData.h
MMFilesTransactionManager.cpp Feature/hotbackup devel (#9495) 2019-08-02 11:39:46 +02:00
MMFilesTransactionManager.h Feature/hotbackup devel (#9495) 2019-08-02 11:39:46 +02:00
MMFilesTransactionState.cpp Debug segfault reimplementation (#9940) 2019-09-09 23:07:45 +03:00
MMFilesTransactionState.h bug-fix/internal-issue-#609 (#9464) 2019-07-19 11:10:56 +03:00
MMFilesTtlIndex.cpp make TTL indexes behave like other indexes on creation (#9546) 2019-07-23 13:53:58 +02:00
MMFilesTtlIndex.h make TTL indexes behave like other indexes on creation (#9546) 2019-07-23 13:53:58 +02:00
MMFilesV8Functions.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesV8Functions.h
MMFilesWalAccess.cpp
MMFilesWalAccess.h
MMFilesWalLogfile.cpp Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesWalLogfile.h Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
MMFilesWalMarker.h
MMFilesWalRecoverState.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesWalRecoverState.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesWalRecoveryFeature.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesWalRecoveryFeature.h
MMFilesWalSlot.cpp Feature/set environment (#9688) 2019-08-13 09:18:16 +02:00
MMFilesWalSlot.h
MMFilesWalSlots.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesWalSlots.h Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesWalSyncRegion.h
README.md
mmfiles-fulltext-common.h
mmfiles-fulltext-index.cpp remove unused code (#10043) 2019-09-19 12:25:25 +02:00
mmfiles-fulltext-index.h remove unused code (#10043) 2019-09-19 12:25:25 +02:00
mmfiles-fulltext-list.cpp remove unused code (#10043) 2019-09-19 12:25:25 +02:00
mmfiles-fulltext-list.h remove unused code (#10043) 2019-09-19 12:25:25 +02:00
mmfiles-fulltext-query.cpp Decentralize includes (#9623) 2019-08-06 15:32:09 +02:00
mmfiles-fulltext-query.h remove unused code (#10043) 2019-09-19 12:25:25 +02:00
mmfiles-replication-common.cpp
mmfiles-replication-common.h
mmfiles-replication-dump.cpp Feature/cleanup ccpcheck (#9665) 2019-08-12 11:11:49 +02:00
mmfiles-replication-dump.h Feature/comm task refactor (#9426) 2019-07-16 09:43:25 +02:00

README.md

MMFilesEngine

How operations are stored - Overview

All operations like insert or remove are written as markers to a write ahead log (WAL). This WAL consists of files of a certain size and if such a file is full (or is manually flushed), all relevant markers are transferred (transferMarkers()) to the journals of the respective collections. During the transfer any obsolete markers will be thrown away: a sequence of insert, remove, insert on the same document will result in the last insert discarding the previous operations. When a journal file of size (journalSize()) is full, it will be sealed and renamed. By applying these operations it will become a datafile that is read-only. Datafiles will eventually be merged by a compactor thread that does about the same work as the transferMarkers function, reducing the size of the stored data.

Ditches

Ditches are used to pin objects in WAL or journal as long as they are used by other operations.