Revert "ReceiveCommits: Retry inserting changes and patch sets"
This reverts commit 7f3121bec4.
Reason for revert: The retrying doesn't work and always fails with
"java.lang.IllegalArgumentException: cannot chain ref update" and as
a result the user gets non-understandable error message.
Change-Id: I6a5c8ea4aabaf2cafba7a551cb6a1156c2751948
			
			
This commit is contained in:
		| @@ -952,17 +952,9 @@ class ReceiveCommits { | ||||
|         updateGroups.forEach(r -> r.addOps(bu)); | ||||
|  | ||||
|         logger.atFine().log("Executing batch"); | ||||
|  | ||||
|         try { | ||||
|           retryHelper | ||||
|               .changeUpdate( | ||||
|                   "insertChangesAndPatchSets", | ||||
|                   () -> { | ||||
|           bu.execute(); | ||||
|                     return null; | ||||
|                   }) | ||||
|               .call(); | ||||
|         } catch (Exception e) { | ||||
|         } catch (UpdateException e) { | ||||
|           throw asRestApiException(e); | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Edwin Kempin
					Edwin Kempin