Moving the MDB implementation from raft