Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10113

Lower error to warn in findUncachedWithRetry, to clarify the severity

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Done
    • None
    • 1.50.0
    • documentmk
    • None

    Description

      Below error is somewhat noisy and confusing as it seems to imply that something permanently went wrong - while as this is part of a retry loop and next time it might succeed. So a warning might be more appropriate:

      08:02:54.788 [DocumentNodeStore background read thread (2)] ERROR o.a.j.o.p.d.mongo.MongoDocumentStore - findUncachedWithRetry : read fails with an exceptioncom.mongodb.MongoSocketWriteException: Exception sending message
      com.mongodb.MongoSocketWriteException: Exception sending message
      	at com.mongodb.internal.connection.InternalStreamConnection.translateWriteException(InternalStreamConnection.java:551)
      	at com.mongodb.internal.connection.InternalStreamConnection.sendMessage(InternalStreamConnection.java:433)
      ...
      at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentStore.findUncached(MongoDocumentStore.java:685)
      	at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentStore.findUncachedWithRetry(MongoDocumentStore.java:655)
      	at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentStore.find(MongoDocumentStore.java:603)
      ..
      Caused by: java.net.SocketException: Connection reset
      	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
      	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
      	at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
      

      Attachments

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: