puppetlabs/puppetdb — pull request #436 by kbarber (2013-02-17 13:48:48+00:00)
Title: DISCUSS: (#19239) Work around EOFException upon journal corruption

DISCUSS: I wanted to talk about this patch before I go any further. Does this approach even look sane to you all? Can you give me some code advice as well to make it more clojure-esk?

We discovered a bug in KahaDB that when the journal is corrupted there might be
a stray EOFException that is not caught by the KahaDB store, however upon
broker restart it corrects itself.

This patch will automatically restart the broker when that state is detected,
avoiding the need for an administrator to intervene.

Signed-off-by: Ken Barber