summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/bgsync.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-16192: Add ScopedTransaction to automatically commitAndRestart()Geert Bosch2014-11-211-0/+1
|
* SERVER-15496 Remove legacy replication codeSpencer T Brody2014-11-201-1/+0
|
* SERVER-15496 Get rid of replLocalAuth()Spencer T Brody2014-11-201-1/+2
|
* Revert "SERVER-16032 SERVER-15957 Get OperationContext for ↵Spencer T Brody2014-11-131-2/+2
| | | | | | ReplicationCoordinator::signalDrainComplete from the caller" This reverts commit 622bb23dca571100644c8dd927bd844a3ceae19e.
* SERVER-16032 SERVER-15957 Get OperationContext for ↵Spencer T Brody2014-11-121-2/+2
| | | | ReplicationCoordinator::signalDrainComplete from the caller
* SERVER-15541 Clean up some usages of WriteUnitOfWorkJason Rassi2014-11-041-3/+0
| | | | | | | Removes some WriteUnitOfWork objects where they are unneeded, and moves the declaration of some existing WriteUnitOfWork objects to limit their scope to the write being performed (so that yield-capable reads are not inside them).
* SERVER-14638: Move global sethbmsg into ReplCoordScott Hernandez2014-10-301-3/+5
|
* SERVER-15847 Make sure producer thread wakes up and terminates when we're ↵Spencer T Brody2014-10-291-2/+8
| | | | shutting down
* SERVER-15750 Break deadlock cycle by not holding the global lock while ↵Andy Schwerin2014-10-211-11/+17
| | | | acquiring the bgsync mutex.
* SERVER-15713: do not buffer replicated ops once primaryScott Hernandez2014-10-211-0/+8
|
* SERVER-15535 avoid negative buffer statsEric Milkie2014-10-201-2/+2
|
* SERVER-13635: better txn lines for replication syncEliot Horowitz2014-10-161-1/+6
|
* SERVER-15638 Wake up SyncSourceFeedback thread when we find a new sync sourceSpencer T Brody2014-10-151-0/+1
|
* SERVER-15535 Choose new sync source on reconfigsSpencer T Brody2014-10-101-1/+1
|
* SERVER-14668/SERVER-15294 Collection-level locking for all read pathsKaloian Manassiev2014-10-061-1/+0
|
* SERVER-15312 move replIndexPrefetch parameter out of legacy and into Applier ↵Eric Milkie2014-10-031-1/+2
| | | | (BGSync)
* SERVER-15429 Prepare applier threads to be started by the ↵Spencer T Brody2014-10-021-2/+3
| | | | ReplicationCoordinatorImpl
* SERVER-15404 SERVER-15466 Hook up Applier draining and force syncing to new ↵Eric Milkie2014-10-011-9/+7
| | | | Replication Coordinator Impl
* SERVER-15089 fix REMOVED nodes disconnecting sync source connections too earlyEric Milkie2014-09-261-1/+0
|
* SERVER-15089 separate h fields for lastFetched vs. lastAppliedEric Milkie2014-09-261-15/+16
|
* SERVER-15089 initialize member variableEric Milkie2014-09-261-1/+2
|
* SERVER-15089 Add new Applier class and remove theReplSet references from ↵Eric Milkie2014-09-261-192/+115
| | | | BackgroundSync
* SERVER-15329 add a short sleep if our handshake is rejected because we are ↵matt dannenberg2014-09-251-0/+5
| | | | not in the current config
* SERVER-15089 minvalid helper functions; move tryToGoLiveAsASecondary() to ↵Eric Milkie2014-09-191-1/+2
| | | | sync_tail.cpp
* SERVER-15089 convert non-legacy usage of lastOpTimeWritten to replCoord's ↵Eric Milkie2014-09-191-12/+9
| | | | lastOpTimeApplied
* SERVER-15089 Construct OpTime from seconds since epoch, not milliseconds ↵Andy Schwerin2014-09-161-3/+3
| | | | | | | | since epoch. The two-parameter optime constructor takes as its first argument the number of seconds since the UNIX epoch, as an unsigned 32-bit integer, but we were passing it the number of milliseconds since same, as an unsigned 64-bit integer.
* SERVER-15089 remove fatal state and refactor rollback to use replcoordEric Milkie2014-09-121-5/+6
|
* SERVER-15089 chooseNewSyncSource hooked up in replication ApplierEric Milkie2014-09-121-33/+122
|
* SERVER-15089 cleanup oplogreaderEric Milkie2014-09-051-2/+0
| | | | | | | | 1. Move some master/slave oplogreader code into master_slave.cpp 2. fix up includes for some files; remove pch.h from a header (!) 3. remove awaitCapable check 4. add new "_host" field to oplogreader to store the HostAndPort we're connected to; will be used by new Applier
* SERVER-15089 oplogreader use HostAndPort to connect instead of stringsEric Milkie2014-08-291-1/+1
|
* SERVER-15031 Properly pass our own optime into the ReplicationCoordinatorSpencer T Brody2014-08-291-5/+0
|
* SERVER-14950 Move rsLog to its own librarySpencer T Brody2014-08-191-0/+1
|
* SERVER-14729 assign default log component MONGO_LOG_DEFAULT_COMPONENTBenety Goh2014-08-121-2/+2
|
* SERVER-13961 Pass more OperationContext down in replKaloian Manassiev2014-07-241-5/+7
|
* SERVER-13961 Cleanup some nested instantiations of OperationContextImpl in replKaloian Manassiev2014-07-181-5/+8
| | | | | These are causing deadlocks if LockState is removed from TLS because of pseudo-conflicting locks on the same code path.
* SERVER-14442 Make ReplicationCoordinator responsible for constructing ↵Spencer T Brody2014-07-181-1/+3
| | | | ReplSetUpdatePosition commands
* SERVER-5092 assign default log component to server modulesBenety Goh2014-07-011-1/+5
|
* SERVER-13961 Convert most usages of LockState from TLS to OperationContextKaloian Manassiev2014-06-131-1/+0
|
* SERVER-14043 s/namespace replset/namespace repl/matt dannenberg2014-05-271-2/+2
|
* SERVER-13640: split up ServerStatus into a libraryEliot Horowitz2014-05-061-1/+1
|
* SERVER-13091 eliminate connlock from SyncSourceFeedbackmatt dannenberg2014-04-291-2/+1
|
* SERVER-13091 remove notifier threadmatt dannenberg2014-04-291-62/+2
|
* SERVER-13091 removing all of the oplogreader fallback code from ↵matt dannenberg2014-04-291-44/+2
| | | | SyncSourceFeedback
* SERVER-13420 remove syncSourceFeedback connection management from the ↵matt dannenberg2014-03-311-50/+2
| | | | notifier thread
* SERVER-13152 move initialize of syncSourceFeedback into ReplSetImpl::_go()matt dannenberg2014-03-121-12/+0
|
* SERVER-12650 locking to protect the fallback oplogreadermatt dannenberg2014-02-201-1/+8
|
* Revert "SERVER-12650 make syncSourceFeedback's oplogreader effectively ↵matt dannenberg2014-02-201-0/+1
| | | | | | single threaded" This reverts commit 617b4896241649e2a3203e33e5901907790002b5.
* SERVER-12650 make syncSourceFeedback's oplogreader effectively single threadedMatt Dannenberg2014-02-181-1/+0
|
* more attempts to improve server8070.jsmatt dannenberg2014-02-031-2/+2
|
* further debugging in server8070.jsMatt Dannenberg2014-01-281-0/+1
|