Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2495

Oplog replay can't handle entries > 16 MB

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 100.0.2
    • Affects Version/s: None
    • Component/s: mongorestore
    • None
    • v4.2

      We need to create a bsonSource with maxBSONSize of 16 MB + 16 KB. Issue is with this line in oplog.go:

      bsonSource := db.NewDecodedBSONSource(db.NewBufferlessBSONSource(intent.BSONFile)) 

      Probably worth backporting this to 4.2.

            Assignee:
            evgeni.dobranov@mongodb.com Evgeni Dobranov
            Reporter:
            tim.fogarty@mongodb.com Tim Fogarty
            Tim Fogarty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: