I'm having some problems getting MongoDB to work with WiredTiger (from
my system, not the included copy).
MongoDB builds successfully, but this appears in the logs when
attempting to start MongoDB.
2017-12-22T12:01:20.801+0100 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=256M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
2017-12-22T12:01:20.810+0100 E STORAGE [initandlisten] WiredTiger error (22) [1513940480:810293][330:0x7f4fb4e3ed40], connection: unknown compressor 'snappy': Invalid argument
I know very little about the internals of MongoDB, but looking at the
WiredTiger docs , it looks like you need to specify the extensions,
e.g. extensions=[/usr/local/lib/libwiredtiger_snappy.so] when opening
the database, which looking at the logged wiredtiger_open call above
isn't happening. Does this make sense to anyone?
I also found a place in the MongoDB source code where it looks like the
extensions would be specified , but I can't seem to find how this
list of extensions is populated (addExtension doesn't seem to be called
Does anyone know what can be done to get this working, or know any
potential differences between the wiredtiger code included in MongoDB,
and the upstream source?