1
0
Fork 0
arangodb/arangod/MMFiles
Jan 359ee03dd8
upgrade vpack library (#10314)
2019-10-25 11:04:16 +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 use C++17 [[fallthrough]] (#10280) 2019-10-19 18:14:26 +02:00
MMFilesCollection.h Remove invokeOnAllElements (#10212) 2019-10-10 14:03:13 +02:00
MMFilesCollectionExport.cpp Remove invokeOnAllElements (#10212) 2019-10-10 14:03:13 +02:00
MMFilesCollectionExport.h
MMFilesCollectionKeys.cpp upgrade vpack library (#10314) 2019-10-25 11:04:16 +02:00
MMFilesCollectionKeys.h
MMFilesCollectionWriteLocker.h
MMFilesCollectorCache.h
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 Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesCompactionLocker.h
MMFilesCompactorThread.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesCompactorThread.h
MMFilesDatafile.cpp
MMFilesDatafile.h Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesDatafileHelper.h
MMFilesDatafileStatistics.cpp
MMFilesDatafileStatistics.h
MMFilesDatafileStatisticsContainer.cpp
MMFilesDatafileStatisticsContainer.h
MMFilesDitch.cpp Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesDitch.h
MMFilesDocumentOperation.cpp Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesDocumentOperation.h
MMFilesDocumentPosition.h Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesEdgeIndex.cpp Move containers into their own folder and namespace. (#10244) 2019-10-14 10:55:55 +02:00
MMFilesEdgeIndex.h Move containers into their own folder and namespace. (#10244) 2019-10-14 10:55:55 +02:00
MMFilesEngine.cpp Bug fix/fix suspicous stuff (#10273) 2019-10-17 15:34:22 +02:00
MMFilesEngine.h more vocbase clean up (#10247) 2019-10-15 12:05:02 +02:00
MMFilesExportCursor.cpp Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesExportCursor.h
MMFilesFulltextIndex.cpp Bug fix/fix suspicous stuff (#10273) 2019-10-17 15:34:22 +02:00
MMFilesFulltextIndex.h Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesGeoIndex.cpp Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesGeoIndex.h
MMFilesHashIndex.cpp Move containers into their own folder and namespace. (#10244) 2019-10-14 10:55:55 +02:00
MMFilesHashIndex.h Move containers into their own folder and namespace. (#10244) 2019-10-14 10:55:55 +02:00
MMFilesIncrementalSync.h Remove invokeOnAllElements (#10212) 2019-10-10 14:03:13 +02:00
MMFilesIndex.cpp
MMFilesIndex.h
MMFilesIndexElement.cpp
MMFilesIndexElement.h Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesIndexFactory.cpp Bug fix/fix suspicous stuff (#10273) 2019-10-17 15:34:22 +02:00
MMFilesIndexFactory.h
MMFilesIndexLookupContext.cpp
MMFilesIndexLookupContext.h Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesLogfileManager.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesLogfileManager.h
MMFilesOptimizerRules.cpp Move containers into their own folder and namespace. (#10244) 2019-10-14 10:55:55 +02:00
MMFilesOptimizerRules.h
MMFilesPathBasedIndex.cpp
MMFilesPathBasedIndex.h
MMFilesPersistentIndex.cpp Bug fix/fix suspicous stuff (#10273) 2019-10-17 15:34:22 +02:00
MMFilesPersistentIndex.h
MMFilesPersistentIndexFeature.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesPersistentIndexFeature.h
MMFilesPersistentIndexKeyComparator.cpp
MMFilesPersistentIndexKeyComparator.h
MMFilesPrimaryIndex.cpp Move containers into their own folder and namespace. (#10244) 2019-10-14 10:55:55 +02:00
MMFilesPrimaryIndex.h Move containers into their own folder and namespace. (#10244) 2019-10-14 10:55:55 +02:00
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 Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesRevisionsCache.h Move containers into their own folder and namespace. (#10244) 2019-10-14 10:55:55 +02:00
MMFilesSkiplistIndex.cpp use C++17 [[fallthrough]] (#10280) 2019-10-19 18:14:26 +02:00
MMFilesSkiplistIndex.h Move containers into their own folder and namespace. (#10244) 2019-10-14 10:55:55 +02:00
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 Move containers into their own folder and namespace. (#10244) 2019-10-14 10:55:55 +02:00
MMFilesTransactionContextData.cpp
MMFilesTransactionContextData.h
MMFilesTransactionManager.cpp
MMFilesTransactionManager.h Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesTransactionState.cpp
MMFilesTransactionState.h
MMFilesTtlIndex.cpp Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesTtlIndex.h
MMFilesV8Functions.cpp Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
MMFilesV8Functions.h
MMFilesWalAccess.cpp
MMFilesWalAccess.h
MMFilesWalLogfile.cpp
MMFilesWalLogfile.h
MMFilesWalMarker.h Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesWalRecoverState.cpp abort write transactions (#10248) 2019-10-23 15:49:47 +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 Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
MMFilesWalSlot.cpp
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 Use explicit default destructors where possible (#10166) 2019-10-04 15:58:30 +02:00
README.md
mmfiles-fulltext-common.h
mmfiles-fulltext-index.cpp
mmfiles-fulltext-index.h
mmfiles-fulltext-list.cpp
mmfiles-fulltext-list.h
mmfiles-fulltext-query.cpp
mmfiles-fulltext-query.h
mmfiles-replication-common.cpp
mmfiles-replication-common.h
mmfiles-replication-dump.cpp
mmfiles-replication-dump.h

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.