Skip to content

Conversation

@olethanh
Copy link
Collaborator

This branch mitigate some of the concurrency issue found during the confidential beta test that prevented some instances from being run or getting in weird state.

…case the id was reused

Solution: Base the socket name on the vm_hash
…(and thus network interface)

Issue happened with systemd run controller since we could have an id allocated but the controller process not started or running at that moment
@olethanh olethanh changed the title Mititate concurrency issue Mititate concurrency issues Aug 16, 2024
@olethanh olethanh changed the title Mititate concurrency issues Mitigate concurrency issues Aug 16, 2024
@codecov
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 61.46%. Comparing base (902cf85) to head (ca0dbd4).
Report is 1 commits behind head on main.

Files Patch % Lines
src/aleph/vm/models.py 66.66% 1 Missing ⚠️
src/aleph/vm/pool.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #670   +/-   ##
=======================================
  Coverage   61.46%   61.46%           
=======================================
  Files          68       68           
  Lines        5986     5989    +3     
  Branches      633      633           
=======================================
+ Hits         3679     3681    +2     
- Misses       2152     2153    +1     
  Partials      155      155           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@olethanh olethanh force-pushed the ol-mitigate-concurrency-issues branch from ca0dbd4 to 16d729b Compare August 16, 2024 18:23
@hoh hoh merged commit 7622499 into main Aug 16, 2024
@hoh hoh deleted the ol-mitigate-concurrency-issues branch August 16, 2024 18:54
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.

2 participants