You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by nf...@apache.org on 2024/09/06 12:08:10 UTC
(jackrabbit-oak) branch trunk updated: OAK-11086 - Do not log stack traces of exceptions caused by reconnection attempts to Mongo (#1693)
This is an automated email from the ASF dual-hosted git repository.
nfsantos pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new 1db340d2c2 OAK-11086 - Do not log stack traces of exceptions caused by reconnection attempts to Mongo (#1693)
1db340d2c2 is described below
commit 1db340d2c22d750354ccb0b95c46ed2ab232b9f8
Author: Nuno Santos <ns...@adobe.com>
AuthorDate: Fri Sep 6 14:08:05 2024 +0200
OAK-11086 - Do not log stack traces of exceptions caused by reconnection attempts to Mongo (#1693)
---
.../indexer/document/flatfile/pipelined/PipelinedMongoDownloadTask.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/pipelined/PipelinedMongoDownloadTask.java b/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/pipelined/PipelinedMongoDownloadTask.java
index cbf61a3c91..c63a6f10b3 100644
--- a/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/pipelined/PipelinedMongoDownloadTask.java
+++ b/oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/pipelined/PipelinedMongoDownloadTask.java
@@ -692,7 +692,7 @@ public class PipelinedMongoDownloadTask implements Callable<PipelinedMongoDownlo
if (failuresStartTimestamp == null) {
failuresStartTimestamp = Instant.now().truncatedTo(ChronoUnit.SECONDS);
}
- LOG.warn("Connection error downloading from MongoDB.", e);
+ LOG.info("Non-fatal connection interruption downloading from MongoDB: {}", e.toString());
long secondsSinceStartOfFailures = Duration.between(failuresStartTimestamp, Instant.now()).toSeconds();
if (parallelDump && parallelDumpSecondariesOnly && mongoServerSelector.atLeastOneConnectionActive()) {
// Special case, the cluster is up because one of the connections is active. This happens when