Yuta HIGUCHI

Foo bugfix

Change-Id: Id2db1cbf7bee61c0bd0178d62891d1f859ce31be
...@@ -199,7 +199,11 @@ public class FooComponent { ...@@ -199,7 +199,11 @@ public class FooComponent {
199 log.info("Write success {} -> {}", result.get().previousValue(), next); 199 log.info("Write success {} -> {}", result.get().previousValue(), next);
200 break; 200 break;
201 } else { 201 } else {
202 - log.info("Write failed trying to write{}", next); 202 + log.info("Write failed trying to write {}", next);
203 + read = dbService.read(ReadRequest.get(someTable, someKey));
204 + if (!read.valueExists()) {
205 + log.error("Shouldn't reach here");
206 + }
203 } 207 }
204 } while (retry-- > 0); 208 } while (retry-- > 0);
205 } catch (Exception e) { 209 } catch (Exception e) {
......