This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NO ISSUE][MISC] Preserve Error instances on retryUntilSuccessOrExhau…
…sted Prior to this change, InvokeUtil.retryUntilSuccessOrExhausted() would wrap instances of java.lang.Error with HyracksDataException upon exhaustion of retry attempts. Errors are typically handled differently than non-Errors, so preserve the Error when propagating the failure to the caller. Change-Id: Idfe1d443addaed342b0c0ed3a0a3835ad226dbe7 Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/11483 Integration-Tests: Jenkins <email@example.com> Reviewed-by: Michael Blow <firstname.lastname@example.org> Reviewed-by: Hussain Towaileb <email@example.com> Tested-by: Jenkins <firstname.lastname@example.org>
- Loading branch information
Showing 1 changed file with 3 additions and 0 deletions.