1
0
Fork 0
arangodb/arangod/MMFiles
Simon ab0578320a Adding view rename case to replication server handlers (#4299) 2018-01-16 09:19:57 +01:00
..
CMakeLists.txt Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
MMFilesAllocatorThread.cpp
MMFilesAllocatorThread.h
MMFilesAqlFunctions.cpp fixed issue #4185: On execution of FULLTEXT search / AQL query db is … (#4238) 2018-01-16 00:27:27 +01:00
MMFilesAqlFunctions.h
MMFilesCleanupThread.cpp remove TRI_usleep and TRI_sleep, and use std::this_thread::sleep_for … (#3817) 2017-12-06 18:43:49 +01:00
MMFilesCleanupThread.h
MMFilesCollection.cpp fixed issue #4185: On execution of FULLTEXT search / AQL query db is … (#4238) 2018-01-16 00:27:27 +01:00
MMFilesCollection.h fixed issue #4185: On execution of FULLTEXT search / AQL query db is … (#4238) 2018-01-16 00:27:27 +01:00
MMFilesCollectionExport.cpp remove TRI_usleep and TRI_sleep, and use std::this_thread::sleep_for … (#3817) 2017-12-06 18:43:49 +01:00
MMFilesCollectionExport.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
MMFilesCollectionKeys.cpp fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
MMFilesCollectionKeys.h fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
MMFilesCollectionReadLocker.h
MMFilesCollectionWriteLocker.h
MMFilesCollectorCache.h
MMFilesCollectorThread.cpp temporarily break flush thread feature in order to prevent some loss (#4159) 2018-01-02 13:20:07 +01:00
MMFilesCollectorThread.h Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
MMFilesCompactionFeature.cpp
MMFilesCompactionFeature.h
MMFilesCompactionLocker.h
MMFilesCompactorThread.cpp fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
MMFilesCompactorThread.h
MMFilesDatafile.cpp Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
MMFilesDatafile.h Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
MMFilesDatafileHelper.h Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
MMFilesDatafileStatistics.cpp do not complain about missing datafile statistics (#3688) 2017-11-14 16:42:31 +01:00
MMFilesDatafileStatistics.h do not complain about missing datafile statistics (#3688) 2017-11-14 16:42:31 +01:00
MMFilesDatafileStatisticsContainer.cpp
MMFilesDatafileStatisticsContainer.h
MMFilesDitch.cpp
MMFilesDitch.h
MMFilesDocumentOperation.cpp
MMFilesDocumentOperation.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
MMFilesDocumentPosition.h
MMFilesEdgeIndex.cpp Feature/efficiency (#3736) 2018-01-05 16:51:31 +01:00
MMFilesEdgeIndex.h Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
MMFilesEngine.cpp Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
MMFilesEngine.h several compile warnings fixed 2018-01-05 18:20:41 +01:00
MMFilesExportCursor.cpp Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
MMFilesExportCursor.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
MMFilesFulltextIndex.cpp Feature/efficiency (#3736) 2018-01-05 16:51:31 +01:00
MMFilesFulltextIndex.h Feature/efficiency (#3736) 2018-01-05 16:51:31 +01:00
MMFilesGeoIndex.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
MMFilesGeoIndex.h Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
MMFilesHashIndex.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
MMFilesHashIndex.h Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
MMFilesIncrementalSync.h Use uuid in Initial sync to ensure proper collection mapping (#3965) 2017-12-13 22:12:47 +01:00
MMFilesIndex.h Bug fix/fixes 0211 (#3568) 2017-11-09 12:48:15 +01:00
MMFilesIndexElement.cpp
MMFilesIndexElement.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
MMFilesIndexFactory.cpp Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
MMFilesIndexFactory.h
MMFilesLogfileManager.cpp temporarily break flush thread feature in order to prevent some loss (#4159) 2018-01-02 13:20:07 +01:00
MMFilesLogfileManager.h Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
MMFilesOptimizerRules.cpp
MMFilesOptimizerRules.h
MMFilesPathBasedIndex.cpp
MMFilesPathBasedIndex.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
MMFilesPersistentIndex.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
MMFilesPersistentIndex.h Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
MMFilesPersistentIndexFeature.cpp
MMFilesPersistentIndexFeature.h
MMFilesPersistentIndexKeyComparator.cpp
MMFilesPersistentIndexKeyComparator.h
MMFilesPrimaryIndex.cpp Feature/efficiency (#3736) 2018-01-05 16:51:31 +01:00
MMFilesPrimaryIndex.h Feature/efficiency (#3736) 2018-01-05 16:51:31 +01:00
MMFilesRemoverThread.cpp
MMFilesRemoverThread.h
MMFilesRestExportHandler.cpp Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
MMFilesRestExportHandler.h
MMFilesRestHandlers.cpp
MMFilesRestHandlers.h
MMFilesRestReplicationHandler.cpp fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
MMFilesRestReplicationHandler.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
MMFilesRestWalHandler.cpp make truncate a bit less obstrusive (#3721) 2017-11-16 20:28:33 +01:00
MMFilesRestWalHandler.h
MMFilesRevisionsCache.cpp
MMFilesRevisionsCache.h
MMFilesSkiplist.h
MMFilesSkiplistIndex.cpp Feature/efficiency (#3736) 2018-01-05 16:51:31 +01:00
MMFilesSkiplistIndex.h Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
MMFilesSynchronizerThread.cpp potential fix for issue #3517: several "filesystem full" errors in log… (#3525) 2017-10-30 17:28:59 +01:00
MMFilesSynchronizerThread.h
MMFilesTransactionCollection.cpp Feature/efficiency (#3736) 2018-01-05 16:51:31 +01:00
MMFilesTransactionCollection.h fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
MMFilesTransactionContextData.cpp
MMFilesTransactionContextData.h
MMFilesTransactionManager.cpp
MMFilesTransactionManager.h
MMFilesTransactionState.cpp remove TRI_usleep and TRI_sleep, and use std::this_thread::sleep_for … (#3817) 2017-12-06 18:43:49 +01:00
MMFilesTransactionState.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
MMFilesV8Functions.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
MMFilesV8Functions.h
MMFilesView.cpp
MMFilesView.h
MMFilesWalAccess.cpp Adding view rename case to replication server handlers (#4299) 2018-01-16 09:19:57 +01:00
MMFilesWalAccess.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
MMFilesWalLogfile.cpp
MMFilesWalLogfile.h temporarily break flush thread feature in order to prevent some loss (#4159) 2018-01-02 13:20:07 +01:00
MMFilesWalMarker.h Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
MMFilesWalRecoverState.cpp Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
MMFilesWalRecoverState.h
MMFilesWalRecoveryFeature.cpp add a test for replication applier restarts (#3750) 2017-12-06 11:09:36 +01:00
MMFilesWalRecoveryFeature.h
MMFilesWalSlot.cpp
MMFilesWalSlot.h
MMFilesWalSlots.cpp remove TRI_usleep and TRI_sleep, and use std::this_thread::sleep_for … (#3817) 2017-12-06 18:43:49 +01:00
MMFilesWalSlots.h
MMFilesWalSyncRegion.h
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-geo-index.cpp
mmfiles-geo-index.h
mmfiles-replication-common.cpp Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
mmfiles-replication-common.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
mmfiles-replication-dump.cpp Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
mmfiles-replication-dump.h Feature/async failover (#3451) 2017-10-18 23:59:29 +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.