In this simple example, the journal file is written directly to the directory pointed to by the :queue tag in the hepdb.names file. As the server is the database master, the :queue and :todo tags point to the same directory. Whilst the journal file is being written, the reserved prefix zz is used. As soon as it is complete, the file is renamed to have the correct database prefix so that the server, which can of course handle several databases for the same experiment, can identify which database file is to be updated.
After the update has been processed, the master server sends the new journal file to all slave servers.