Activity log for bug #602230

Date Who What changed Old value New value Message
2010-07-06 11:07:52 Stelios Tzivakis bug added bug
2010-07-06 11:09:37 Stelios Tzivakis description In GearmanClientImpl in method " public <T> Future<T> submit(Callable<T> task) " - subitting a backgroynd job the code does not throw an error when gearman is down, It return a (Future<T> job) instead and just logs the IOException occured. So there is no way to tell if gearman is up or down because this always succeds. Reproducing the situation --------------- Gearm is up Client connects to Gearman We Shitdown gearman Client submits a background job try { GearmanJob job = GearmanJobImpl.createBackgroundJob ( functionToCall, requestPayload.getBytes(), uniqueId); f = client.submit(job); } catch (Exception e) { comResponse.setErrNo(ComResponse.ERR_SYSTEM_FAIL); comResponse.setErrMessage(e.getMessage()); return comResponse; } Code does not reach the catch statement In GearmanClientImpl in method " public <T> Future<T> submit(Callable<T> task) " - subitting a backgroynd job the code does not throw an error when gearman is down, It return a (Future<T> job) instead and just logs the IOException occured. So there is no way to tell if gearman is up or down because this always succeds. Reproducing the situation --------------- Gearm is up Client connects to Gearman We Shitdown gearman Client submits a background job try {     GearmanJob job = GearmanJobImpl.createBackgroundJob (       functionToCall,       requestPayload.getBytes(),       uniqueId);     f = client.submit(job);   } catch (Exception e) {     comResponse.setErrNo(ComResponse.ERR_SYSTEM_FAIL);     comResponse.setErrMessage(e.getMessage());     return comResponse;   } Code does not reach the catch statement
2010-07-06 11:09:58 Stelios Tzivakis summary Subitting a Background Job does not fail after gearmnah has been closed Subitting a Background Job does not fail after gearman has been closed
2010-07-23 22:08:05 Eric Lambert gearman-java: importance Undecided Medium
2010-07-23 22:09:04 Eric Lambert gearman-java: assignee Eric Lambert (elambert)
2010-08-11 06:42:19 Eric Lambert gearman-java: milestone 0.04
2010-08-12 06:17:46 Eric Lambert gearman-java: status New Confirmed
2010-09-08 19:58:20 Launchpad Janitor branch linked lp:gearman-java
2010-09-08 19:59:32 Eric Lambert gearman-java: status Confirmed Fix Committed
2010-09-10 20:20:59 Eric Lambert gearman-java: status Fix Committed Fix Released