X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=champ-lib%2Fchamp-titan%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Faai%2Fchamptitan%2Fgraph%2Fimpl%2FTitanChampGraphImpl.java;h=209bf796f952b4167b6ae81c0401392683a0e91a;hb=29a772f710bd05bcf1a6a3da9af9b198bc003482;hp=f3d821cc03a0484b614f2edd27a63a8f69497307;hpb=bce8bc8383c3f19b64b360a941ec1b1503791c85;p=aai%2Fchamp.git diff --git a/champ-lib/champ-titan/src/main/java/org/onap/aai/champtitan/graph/impl/TitanChampGraphImpl.java b/champ-lib/champ-titan/src/main/java/org/onap/aai/champtitan/graph/impl/TitanChampGraphImpl.java index f3d821c..209bf79 100644 --- a/champ-lib/champ-titan/src/main/java/org/onap/aai/champtitan/graph/impl/TitanChampGraphImpl.java +++ b/champ-lib/champ-titan/src/main/java/org/onap/aai/champtitan/graph/impl/TitanChampGraphImpl.java @@ -362,6 +362,7 @@ public final class TitanChampGraphImpl extends AbstractTinkerpopChampGraph { } } catch (InterruptedException e) { LOGGER.warn("Interrupted while waiting for object index creation status"); + Thread.currentThread().interrupt(); return; } @@ -373,6 +374,7 @@ public final class TitanChampGraphImpl extends AbstractTinkerpopChampGraph { updateIndexMgmt.commit(); } catch (InterruptedException e) { LOGGER.warn("Interrupted while reindexing for object index"); + Thread.currentThread().interrupt(); return; } catch (ExecutionException e) { LOGGER.warn("Exception occurred during reindexing procedure for creating object index " + indexName, e); @@ -385,6 +387,7 @@ public final class TitanChampGraphImpl extends AbstractTinkerpopChampGraph { .call(); } catch (InterruptedException e) { LOGGER.warn("Interrupted while waiting for index to transition to ENABLED state"); + Thread.currentThread().interrupt(); return; } }