Skip to content

Commit 295b853

Browse files
author
Florian David
committed
Log every exception thrown from Memcached IO thread
Related to BES-16032, this patch helps to gather more information about the issue encountered that kill the Memcached IO thread. Please note that this patch will not kill the Memcached IO thread which will continue to run. Previous known bug reports related to this issue are: couchbase#7 couchbase#17 Change-Id: If1d9887963e96ac6ee4a8ec0dd0c19626e521346 JIRA:WBSC-3570
1 parent 83c64f9 commit 295b853

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/net/spy/memcached/MemcachedConnection.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,6 +1467,8 @@ public void run() {
14671467
logRunException(e);
14681468
} catch (ConcurrentModificationException e) {
14691469
logRunException(e);
1470+
} catch (Exception e) {
1471+
getLogger().error("Unexpected exception catch by Memcached IO thread ", e);
14701472
}
14711473
}
14721474
getLogger().info("Shut down memcached client");

0 commit comments

Comments
 (0)