10gen / mongo-orchestration

Apache License 2.0
7 stars 11 forks source link

Support starting MongoDB 3.4+ with compression #245

Closed behackett closed 6 years ago

behackett commented 6 years ago

Drivers are supposed to support wire protocol with MongoDB 3.4 and newer. MongoOrchestration should support starting MongoDB 3.4 with snappy compression support and 3.6+ with snappy and zlib support.

I'm somewhat indifferent to this being a completely separate config, or a default for these server versions.

ShaneHarvey commented 6 years ago

I think this was already done in https://github.com/10gen/mongo-orchestration/pull/233.

behackett commented 6 years ago

Huh, I guess I missed this. Are there config files that use it already?

ShaneHarvey commented 6 years ago

It automatically adds "networkMessageCompressors" like this: https://github.com/10gen/mongo-orchestration/blob/master/mongo_orchestration/servers.py#L80-L88

Configs don't need to specifiy it manually.

behackett commented 6 years ago

Oh. That should have been obvious in the original patch. Thanks!