[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:
Documented
is documented by DOCS-11946 Docs for SERVER-36074: networkMessage... Closed
Duplicate
is duplicated by SERVER-30142 Enable zlib by default Closed
Related
is related to RUBY-1216 Add support for reading and writing O... Closed
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: SERVER-36074 Support zlib wire protocol compression by default
Branch: master
https://github.com/mongodb/mongo/commit/7a09ca856a0589ff2fd2170c0a669600beeff5a0

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?

Generated at Thu Feb 08 04:41:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.