Mnesia partition handler.