Ticket #197 (new bugs)

Opened 12 years ago

Suspicious behavior of dcap mover exceptions. Exceptions may be handled incorrectly in some cases.

Reported by: patrick Owned by: tigran
Priority: major Milestone: 1.9.3
Component: pool Keywords: dcap mover expection handling
Cc: Sub Version:

Description

The following code in DCAPProtocol_3_nio looks suspicious:

if(! _io_ok) { throw new CacheException?( CacheRepository?.ERROR_IO_DISK, "Disk I/O Error " +

(ioException!=null?ioException.toString():"") ); }else{ if (ioException instanceof EOFException) throw ioException; }

Basically this means that any communication error other than orderly shutdown of the socket will be ignored. I have seen this occur in praxis during pool to pool transfers, and I wonder if this is the expected behavior of DCAP.

Cheers,

Note: See TracTickets for help on using tickets.