Skip to content

Commit

Permalink
FUT1-5892 revert "3156 multiple tag race condition (hapifhir#3297)"
Browse files Browse the repository at this point in the history
  • Loading branch information
tyfoni-systematic committed Feb 20, 2023
1 parent 2c93f88 commit a949900
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,23 +417,6 @@ protected TagDefinition getTagOrNull(TransactionDetails theTransactionDetails, T

resolvedTagDefinitions.put(key, retVal);
}
count++;
} while (retVal == null && count < TOTAL_TAG_READ_ATTEMPTS);

if (retVal == null) {
// if tag is still null,
// something bad must be happening
// - throw
String msg = throwables.stream()
.map(Throwable::getMessage)
.collect(Collectors.joining(", "));
throw new InternalErrorException(
Msg.code(2023)
+ "Tag get/create failed after "
+ TOTAL_TAG_READ_ATTEMPTS
+ " attempts with error(s): "
+ msg
);
}

return retVal;
Expand Down

0 comments on commit a949900

Please sign in to comment.