Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29108

Initial sync statistics can get truncated

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Replication
    • ALL

      If there are more than a few collections in an initial sync, the max log line filter will truncate the middle of the initial sync statistics log entry. For example:

      2017-05-02T12:37:53.958+0000 I REPL     [replication-0] warning: log line attempted (94kB) over max size (10kB), printing beginning and end ... Initial Sync Attempt Statistics: { failedInitialSyncAttempts: 0, maxFailedInitialSyncAttempts: 10, initialSyncStart: new Date(1493728321379), initialSyncAttempts: [], fetchedMissingDocs: 0, appliedOps: 38802, initialSyncOplogStart: Timestamp 1493728327000|52, initialSyncOplogEnd: Timestamp 1493728662000|52, databases: { databasesCloned: 79, mmsdbrrdcache: { collections: 1, clonedCollections: 1, start: new Date(1493728327500), end: new Date(1493728327726), elapsedMillis: 226, mmsdbrrdcache.data.dbstatsCache: { documentsToCopy: 56, documentsCopied: 56, indexes: 1, fetchedBatches: 1, start: new Date(1493728327579), end: new Date(1493728327726), elapsedMillis: 147 } }, backupoplogs: { collections: 1, clonedCollections: 1, start: new Date(1493728327726), end: new Date(1493728327957), elapsedMillis: 231, backupoplogs.badOplogs: { documentsToCopy: 0, documentsCopied: 0, indexes: 1, fetchedBatches: 0, start: new Date(1493728327844), end: new Date(1493728327957), elapsedMillis: 113 } },  .......... s: 1, start: new Date(1493728633701), end: new Date(1493728635655), elapsedMillis: 1954, { documentsToCopy: 166720, documentsCopied: 166720, indexes: 2, fetchedBatches: 3, start: new Date(1493728660510), end: new Date(1493728662413), elapsedMillis: 1903 } } } }
      

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: