Browse Source

Merge "Add retry for sync_point_update_input_data" into stable/stein

stable/stein
Zuul 2 weeks ago
parent
commit
f86ddf8adc
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      heat/db/sqlalchemy/api.py

+ 2
- 0
heat/db/sqlalchemy/api.py View File

@@ -1548,6 +1548,8 @@ def sync_point_get(context, entity_id, traversal_id, is_update):
1548 1548
     )
1549 1549
 
1550 1550
 
1551
+@oslo_db_api.wrap_db_retry(max_retries=3, retry_on_deadlock=True,
1552
+                           retry_interval=0.5, inc_retry_interval=True)
1551 1553
 def sync_point_update_input_data(context, entity_id,
1552 1554
                                  traversal_id, is_update, atomic_key,
1553 1555
                                  input_data):

Loading…
Cancel
Save