[SERVER-36074] networkMessageCompressors should default to both snappy and zlib Created: 11/Jul/18 Updated: 29/Oct/23 Resolved: 31/Jul/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build, Networking |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.2 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | Jonathan Reams |
| Resolution: | Fixed | Votes: | 4 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Platforms 2018-08-13 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
Many drivers only support zlib compression, as snappy is not available as part of their core language libraries. The server should default to enabling both snappy and zlib, so users can seamlessly use compression once they enable it in a driver without custom server configuration. |
| Comments |
| Comment by Daniel Pasette (Inactive) [ 31/Jul/18 ] |
|
Should we backport this? Why wouldn't we? |
| Comment by Githook User [ 31/Jul/18 ] |
|
Author: {'username': 'jbreams', 'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com'}Message: |
| Comment by Jonathan Reams [ 30/Jul/18 ] |
|
acm, it is that simple. There aren't really any risks or downsides. If you want me to take care of it, just put it in the next sprint. |
| Comment by Andrew Morrow (Inactive) [ 30/Jul/18 ] |
|
jbreams - Is this any more complex than changing the default value for net.compression.compressors from "snappy" to "snappy,zlib" in src/mongo/transport/message_compressor_registry.cpp? Are there are any downsides or risks to doing so? |