Skip to content

Commit

Permalink
Fix retry handling for GCP datastore (#1416)
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
  • Loading branch information
oavdeev committed Mar 28, 2021
1 parent 95c50ad commit 479bcce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/python/feast/infra/gcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def _write_minibatch(

if progress:
progress(1)
break # make sure to break out of retry loop if all went well
except Conflict:
if retry_number == num_retries_on_conflict - 1:
raise

0 comments on commit 479bcce

Please sign in to comment.