using a bucket type to select leveldb backend