|
|
Choosing A Webhost: |
CVS update of BRANCH_sequoia-2_10 <src>/org/continuent/sequoia/controller/v: msg#00079db.sequoia.cvs
Date: Monday, November 20, 2006 @ 16:26:07 Author: olivier Path: .../sequoia/src/org/continuent/sequoia/controller/virtualdatabase Tag: BRANCH_sequoia-2_10 Modified: VirtualDatabaseWorkerThread.java (1.183.2.5 -> 1.183.2.6) SEQUOIA-777/UNICLUSTER-74: - now considering an unexpected client socket close as an implicit close command. ----------------------------------+ VirtualDatabaseWorkerThread.java | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) Index: sequoia/src/org/continuent/sequoia/controller/virtualdatabase/VirtualDatabaseWorkerThread.java diff -u sequoia/src/org/continuent/sequoia/controller/virtualdatabase/VirtualDatabaseWorkerThread.java:1.183.2.5 sequoia/src/org/continuent/sequoia/controller/virtualdatabase/VirtualDatabaseWorkerThread.java:1.183.2.6 --- sequoia/src/org/continuent/sequoia/controller/virtualdatabase/VirtualDatabaseWorkerThread.java:1.183.2.5 Mon Nov 13 18:44:23 2006 +++ sequoia/src/org/continuent/sequoia/controller/virtualdatabase/VirtualDatabaseWorkerThread.java Mon Nov 20 16:26:07 2006 @@ -417,13 +417,16 @@ catch (NullPointerException e) { // SEQUOIA-777: this NPE happens when this thread is blocked - // on in.read() and 'in' gets closed by the shutdown thread. - // This is a known issue with jdk < 1.5, see SEQUOIA-777. - // In this shutdown case, the flag isKilled is set - // and we can exit the while loop. + // on in.read() and 'in' gets closed either explicitly + // by the shutdown thread or by an unexpected client socket death. + // The NPE is a known issue with jdk < 1.5, see SEQUOIA-777. + // In the shutdown case, the flag isKilled is set + // and we can exit the while loop. Otherwize, the client socket + // died unexpectedly and we consider this is a CLOSE. if (isKilled) continue; - throw e; + logger.warn("Client unexpectedly dropped connection. Closing."); + command = Commands.Close; } }
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of BRANCH_sequoia-2_10 sequoia (build.properties), mathieu-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of <src>/org/continuent/sequoia/controller/virtualdatabase (1 file), olivier-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of BRANCH_sequoia-2_10 <src>/org/continuent/sequoia/controller/virtualdatabase (1 file), olivier-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of BRANCH_sequoia-2_10 <src>/org/continuent/sequoia/controller/virtualdatabase (1 file), jeff-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |