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

Add mechanism to change compression of an existing collection

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL

      I'd like to switch my database from Snappy to Zstd compression.
       
      Currently, it doesn't seem that it is possible to change the compression of an existing collection.
       
      It would be nice if there were a way to do this, even if (for example) it required making a new replica set member which "re-compresses" the data to the new algorithm while cloning it.
       
      My account rep is recommending today that I create a new collection and manually copy with mongodump/mongorestore which doesn't seem to be a viable option, for data consistency reasons.

            Assignee:
            chris.kelly@mongodb.com Chris Kelly
            Reporter:
            shields@tablecheck.com Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: