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

--viewsAsCollections and --oplog will not provide a point-in-time dump of views

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • 101.0.0
    • Affects Version/s: None
    • Component/s: mongodump
    • None
    • 1,375

      Problem Description

      mongodump --oplog is meant to provide a point-in-time dump. But if you use --viewsAsCollections, the views will not be point-in-time since changes to the view are not captured by the oplog, only changes to the underlying collection are.

      --viewsAsCollections should not be allowed with --oplog.

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            tim.fogarty@mongodb.com Tim Fogarty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: