Project

General

Profile

Actions

action #11684

closed

LockAPI: make locks created in children jobs visible to parent

Added by dzyuzin almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
-
Start date:
2016-04-20
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

I have ha_support_server (parent) job and ha_node1 and ha_node2 (children) jobs with PARALLEL_WITH="ha_support_server" variable.
If I call mutex_lock("NODE1_STARTED") on parent, and then call mutex_create("NODE1_STARTED") on node1, parent node never acquires the mutex, it just doesn't see any mutexes created by children.
HA tests fails very often because of jobs starting at different time, and there is no way to make sure that all nodes are started at the same time.

Actions #1

Updated by okurz over 7 years ago

  • Category set to Enhancement to existing tests
Actions #2

Updated by maritawerner over 7 years ago

  • Assignee set to dzyuzin

Denis is that fixed already or still open=

Actions #3

Updated by dzyuzin over 7 years ago

It is still open, but in HA tests we use barriers instead of locks, and the issue is no longer relevant

Actions #4

Updated by maritawerner over 7 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF