From 13721f9ebbbd924710230279fbfb8e8f6378cca0 Mon Sep 17 00:00:00 2001 From: KeiichiFujino Date: Wed, 11 Nov 2020 22:18:03 +0900 Subject: [PATCH] Fix Membership thread name --- .../catalina/tribes/membership/McastServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java/org/apache/catalina/tribes/membership/McastServiceImpl.java b/java/org/apache/catalina/tribes/membership/McastServiceImpl.java index ae95c62a716a..27e4121ddf09 100644 --- a/java/org/apache/catalina/tribes/membership/McastServiceImpl.java +++ b/java/org/apache/catalina/tribes/membership/McastServiceImpl.java @@ -373,7 +373,7 @@ private void memberDataReceived(byte[] data) { public void run() { String name = Thread.currentThread().getName(); try { - Thread.currentThread().setName("Membership-MemberDisappeared."); + Thread.currentThread().setName("Membership-MemberDisappeared"); service.memberDisappeared(m); }finally { Thread.currentThread().setName(name); @@ -387,7 +387,7 @@ public void run() { public void run() { String name = Thread.currentThread().getName(); try { - Thread.currentThread().setName("Membership-MemberAdded."); + Thread.currentThread().setName("Membership-MemberAdded"); service.memberAdded(m); }finally { Thread.currentThread().setName(name); @@ -418,7 +418,7 @@ private void memberBroadcastsReceived(final byte[] b) { public void run() { String name = Thread.currentThread().getName(); try { - Thread.currentThread().setName("Membership-MemberAdded."); + Thread.currentThread().setName("Membership-MemberAdded"); for (ChannelData datum : data) { try { if (datum != null && !member.equals(datum.getAddress())) { @@ -456,7 +456,7 @@ protected void checkExpired() { public void run() { String name = Thread.currentThread().getName(); try { - Thread.currentThread().setName("Membership-MemberExpired."); + Thread.currentThread().setName("Membership-MemberExpired"); service.memberDisappeared(member); } finally { Thread.currentThread().setName(name);