ZStandard Compression not working in MongoDB v4.2.7

Hi @Asmaa_Hamdi,

Great to hear you have a solution.

FYI, the CreateCollectionOptions approach should only be needed if you explicitly want to set a compressor.

If you change the server’s blockCompressor default, all new collections created should use the current default compressor without having to specify any additional collection options. Make sure you restart the mongod service after changing any server configuration defaults to have changes take effect.

Regards,
Stennie