[SERVER-36352] enable zstd compression support in MongoDB Created: 30/Jul/18 Updated: 29/Oct/23 Resolved: 27/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.7 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Asya Kamsky | Assignee: | Daniel Gottlieb (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Sprint: | Storage NYC 2018-12-31 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||||||
| Description |
|
Zstd is available in WiredTiger but cannot be configured as an option in MongoDB. This ticket is to track this functionality |
| Comments |
| Comment by Brian Lane [ 28/Jan/20 ] |
|
Hi bartle, With 3.4 going EOL this month, 3.6 is the oldest version we continue to support. At this point, 3.6 should really be getting important fixes and perf changes deemed critical enough to warrant backports. We also didn't backport this functionality to 4.0 for one of the main reasons you have highlighted. |
| Comment by David Bartley [ 25/Jan/20 ] |
|
Is it possible to backport this to 4.0 and 3.6? I think we'd be ok with accepting that we'll be unable to downgrade to a minor release. |
| Comment by Githook User [ 27/Dec/18 ] |
|
Author: {'username': 'dgottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'name': 'Daniel Gottlieb'}Message: |
| Comment by Daniel Gottlieb (Inactive) [ 12/Dec/18 ] |
|
That's good enough for me to proceed! |
| Comment by Brian Lane [ 12/Dec/18 ] |
|
Since this is a new feature and we are not currently planning on backporting this, I was thinking we would document it as such stating that if you start using zstd in 4.2, you cannot downgrade to 4.0.x. If you require to downgrade, then you would need to dump/restore. Open to other suggestions as well though. |
| Comment by Daniel Gottlieb (Inactive) [ 12/Dec/18 ] |
|
What's the downgrade story if a 4.0 binary comes across data files using zstd, but is incapable of reading the compressed data? |
| Comment by Brian Lane [ 12/Dec/18 ] |
|
Hey daniel.gottlieb - now that Alex had added lz4 in the latest version - but we don't want to expose that - just zstd. |