Commit b97065d0 authored by Andre Freyssinet's avatar Andre Freyssinet

Adds a log message after DB reconnection.

parent 54a12650
......@@ -522,6 +522,11 @@ public abstract class DBTransaction extends AbstractTransaction implements DBTra
if (lastexc != null)
throw new IOException(lastexc.getMessage());
if (startRetry != 0) {
// There was a reconnection process in progress, logs a message to signify its end.
logmon.log(BasicLevel.WARN, "DBTransaction, commit: reconnected");
// All operations are committed in database, frees them and clear the log.
log.forEach((k, op) -> {; });
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment