Uploaded image for project: 'MongoDB CLI Tools'
  1. MongoDB CLI Tools
  2. TOOLS-1671

bsondump cannot read --gzip compressed filesq

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Accepted
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: 3.4.4
    • Fix Version/s: None
    • Component/s: bsondump
    • Labels:
    • Environment:
      3.4.4

      Description

      It appears mongodump and mongorestore support gzipped bson files but bsondump does not.

      This can be troublesome on large files as this requires a full "gunzip" of the gzipped-bson just so it can be read.

      To add to the trouble, because oplog.bson does not have a proper .gz extension when gzipped, gunzip won't uncompress it until it has a .gz extension (an issue for another time).

      I'd like to request bsondump support the --gzip flag to align with the other tooling. Thanks!

        Attachments

          Activity

            People

            Assignee:
            backlog-server-tools Backlog - Server Tools Team
            Reporter:
            tvaillancourt Tim Vaillancourt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: