To configure the minimum oplog retention period when starting theĪdd the storage.oplogMinRetentionHours setting to theĪdd the -oplogMinRetentionHours command line option. Maintain the configured maximum oplog size. The oplog entry is older than the configured number of hours basedīy default MongoDB does not set a minimum oplog retention period andĪutomatically truncates the oplog starting with the oldest entries to The oplog has reached the maximum configured size, and Starting in MongoDB 4.4, you can specify the minimum number of hours Sync if it encountered an error during the process. Prior to MongoDB 4.4, the secondary would restart the entire initial Synchronization process from the beginning. Healthy source from the replica set and restarts the initial Initial sync process during the configured time period, it selects a new If the secondary cannot successfully resume the Parameter for controlling the amount of time the secondary attempts to InitialSyncTransientErrorRetryPeriodSeconds server Restart the initial sync process as if it encountered a non-transientīy default, the secondary tries to resume initial sync for 24 hours. If the sync source runs MongoDB 4.2 or earlier, the secondary must Sync source must also run MongoDB 4.4 to support resumable initial sync. Temporary) network error, collection drop, or collection rename. To resume the sync process if interrupted by a transient (i.e. Starting in MongoDB 4.4, a secondary performing initial sync can attempt
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |