Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: MdsIpThreadStatic ConnectionList; should fix deadlock and be faster #2288

Merged
merged 174 commits into from
May 19, 2021

Conversation

zack-vii
Copy link
Contributor

Added MdsIpThreadStatic to ensure threads use their own connections: prevents race conditions on server and deadlocks

@zack-vii zack-vii linked an issue Apr 15, 2021 that may be closed by this pull request
@zack-vii
Copy link
Contributor Author

the python connection test fails.. might be because the mdsip is a single connection server (-s) server

@zack-vii zack-vii force-pushed the zck-mdsip-dead-lock branch 4 times, most recently from 20a142a to f5da637 Compare April 19, 2021 12:55
@zack-vii zack-vii mentioned this pull request Apr 19, 2021
@joshStillerman
Copy link
Contributor

Let me know when this is ready for review

@zack-vii
Copy link
Contributor Author

well the mdsip cleanup one is first.. this is still in progress. i had it almost but then it was not possible to share one python Connection object between threads

@zack-vii zack-vii force-pushed the zck-mdsip-dead-lock branch 20 times, most recently from 7877167 to e684a3d Compare April 23, 2021 00:14
@joshStillerman joshStillerman merged commit 4e355a7 into alpha May 19, 2021
@joshStillerman joshStillerman deleted the zck-mdsip-dead-lock branch May 19, 2021 21:18
MDSplusBuilder pushed a commit that referenced this pull request Jun 15, 2021
* tag 'alpha_release-7-131-1': (27 commits)
  Fix: Add extra selection for different trigger sources (#2314)
  Feature: MdsIpThreadStatic ConnectionList; should fix deadlock and be faster (#2288)
  Gm beans (#2312)
  Build: fixed alpine externals, removed python dependency if numpy is required
  Fix:jTraverer and jScope fixezs (#2310)
  Build: ub20 does not have python_numpy (#2309)
  Fix:changed event API (#2306)
  Build: debian cleanup repo
  Build: alpine fixed noarch
  Build: cleanup buildroot for debian
  Build: fixed Docker_NETWORK cleanup if not supported
  Build: network cannot be none for udp events
  Build: fixed build scripts to maintain multiarch files
  Build: isolate docker containers with --network=none
  Build: platform builds on empty/new release folder and format (#2304)
  Fix: Refactor out _MOVC3 macro (#2300)
  Tests: splits up python tests to get finer results (#2296)
  Build: fixed windows 32 to ship libgcc_s_dw2 as SEH is not supported for 32 bit yet (#2302)
  Fix:avoid division by zero foir empty segment (#2301)
  Tests: fixed fc32 helgrind suppression file
  ...
MDSplusBuilder pushed a commit that referenced this pull request Jun 15, 2021
* tag 'alpha_release-7-131-1': (27 commits)
  Fix: Add extra selection for different trigger sources (#2314)
  Feature: MdsIpThreadStatic ConnectionList; should fix deadlock and be faster (#2288)
  Gm beans (#2312)
  Build: fixed alpine externals, removed python dependency if numpy is required
  Fix:jTraverer and jScope fixezs (#2310)
  Build: ub20 does not have python_numpy (#2309)
  Fix:changed event API (#2306)
  Build: debian cleanup repo
  Build: alpine fixed noarch
  Build: cleanup buildroot for debian
  Build: fixed Docker_NETWORK cleanup if not supported
  Build: network cannot be none for udp events
  Build: fixed build scripts to maintain multiarch files
  Build: isolate docker containers with --network=none
  Build: platform builds on empty/new release folder and format (#2304)
  Fix: Refactor out _MOVC3 macro (#2300)
  Tests: splits up python tests to get finer results (#2296)
  Build: fixed windows 32 to ship libgcc_s_dw2 as SEH is not supported for 32 bit yet (#2302)
  Fix:avoid division by zero foir empty segment (#2301)
  Tests: fixed fc32 helgrind suppression file
  ...
MDSplusBuilder pushed a commit that referenced this pull request Jun 17, 2021
* tag 'alpha_release-7-131-1': (27 commits)
  Fix: Add extra selection for different trigger sources (#2314)
  Feature: MdsIpThreadStatic ConnectionList; should fix deadlock and be faster (#2288)
  Gm beans (#2312)
  Build: fixed alpine externals, removed python dependency if numpy is required
  Fix:jTraverer and jScope fixezs (#2310)
  Build: ub20 does not have python_numpy (#2309)
  Fix:changed event API (#2306)
  Build: debian cleanup repo
  Build: alpine fixed noarch
  Build: cleanup buildroot for debian
  Build: fixed Docker_NETWORK cleanup if not supported
  Build: network cannot be none for udp events
  Build: fixed build scripts to maintain multiarch files
  Build: isolate docker containers with --network=none
  Build: platform builds on empty/new release folder and format (#2304)
  Fix: Refactor out _MOVC3 macro (#2300)
  Tests: splits up python tests to get finer results (#2296)
  Build: fixed windows 32 to ship libgcc_s_dw2 as SEH is not supported for 32 bit yet (#2302)
  Fix:avoid division by zero foir empty segment (#2301)
  Tests: fixed fc32 helgrind suppression file
  ...
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.

race condition in remote IO
3 participants