add context otherwise preference between leveldb and memdb is operating
system dependent.