If a corruption occurs within a normal datafile, then this can only happen if a hardware fault occurred.
If a journal or datafile is corrupt, shut down the database server and start the program
arango-dfdb
in order to check the consistency of the datafiles and journals.