Skip to content

Unity: Fix duplicate hosts created with same name(ported to newton)#10

Merged
peter-wangxu merged 1 commit intonewtonfrom
fix_dup_host
Jan 19, 2018
Merged

Unity: Fix duplicate hosts created with same name(ported to newton)#10
peter-wangxu merged 1 commit intonewtonfrom
fix_dup_host

Conversation

@peter-wangxu
Copy link
Copy Markdown
Contributor

@peter-wangxu peter-wangxu commented Oct 13, 2017

In some circumstance, there is a race condition in querying/creating
Unity host thus multiple hosts with same name were created.

This issue stops any further attach/detach operation.

This patch leverage the DSL in cinder to avoid above race condition.

@peter-wangxu peter-wangxu force-pushed the fix_dup_host branch 2 times, most recently from becf5ae to 2ddfdf5 Compare January 19, 2018 07:26
@peter-wangxu peter-wangxu changed the title Unity: Fix duplicate hosts created with same name Unity: Fix duplicate hosts created with same name(ported to newton) Jan 19, 2018
@peter-wangxu peter-wangxu merged commit af3e5f9 into newton Jan 19, 2018
@peter-wangxu peter-wangxu deleted the fix_dup_host branch January 19, 2018 07:43
In some circumstance, there is a race condition in querying/creating
Unity host thus multiple hosts with same name were created.

This issue stops any further attach/detach operation.

This patch leverage the DSL in cinder to avoid above race condition.

Change-Id: I3b775da8c5e862def54e9d44d7b157cf17a07a24
Closes-bug: #1726284
(cherry picked from commit d8dd30f)
(cherry picked from commit 85bc7559fb3b8c8ff3d508b3ef54bc4ba4a0591f)
Murray-LIANG pushed a commit that referenced this pull request May 23, 2018
In some circumstance, there is a race condition in querying/creating
Unity host thus multiple hosts with same name were created.

This issue stops any further attach/detach operation.

This patch leverage the DSL in cinder to avoid above race condition.

Change-Id: I3b775da8c5e862def54e9d44d7b157cf17a07a24
Closes-bug: #1726284
(cherry picked from commit d8dd30f)
(cherry picked from commit 85bc7559fb3b8c8ff3d508b3ef54bc4ba4a0591f)
(cherry picked from commit af3e5f9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant