File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
core/src/main/java/com/uber/m3/tally
m3/src/main/java/com/uber/m3/tally/m3/thrift Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ configurations.archives.artifacts.clear()
4545
4646allprojects {
4747 group = ' com.uber.m3'
48- version = ' 0.14.2 '
48+ version = ' 0.14.3 '
4949
5050 apply plugin : ' java'
5151 apply plugin : ' maven'
Original file line number Diff line number Diff line change 2525import javax .annotation .Nullable ;
2626import java .util .Collection ;
2727import java .util .Map ;
28- import java .util .Optional ;
2928import java .util .concurrent .ConcurrentHashMap ;
3029import java .util .concurrent .CopyOnWriteArrayList ;
3130import java .util .concurrent .ScheduledExecutorService ;
Original file line number Diff line number Diff line change 2525import java .io .IOException ;
2626import java .net .DatagramPacket ;
2727import java .net .DatagramSocket ;
28+ import java .net .PortUnreachableException ;
2829import java .net .SocketAddress ;
2930import java .net .SocketException ;
3031
@@ -68,6 +69,8 @@ public void flush() throws TTransportException {
6869 // directly
6970 new DatagramPacket (writeBuffer .array (), writeBuffer .position ())
7071 );
72+ } catch (PortUnreachableException e ) {
73+ logger .warn ("UDP port unreachable during flush" );
7174 } catch (IOException e ) {
7275 throw new TTransportException (e );
7376 } finally {
You can’t perform that action at this time.
0 commit comments